Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.001411, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 282.4 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 99.78 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1622, allocations: 89.16 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007193/0.1694, allocations: 4.926 MB / 0.6984 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4592/0.6287, allocations: 150.6 MB / 0.8455 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008354/0.6296, allocations: 16.25 kB / 0.8455 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.6302, allocations: 190.8 kB / 0.8457 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.6323, allocations: 0.5564 MB / 0.8463 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.6345, allocations: 0.8556 MB / 0.8471 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.6364, allocations: 1.422 MB / 0.8485 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.6373, allocations: 0.5877 MB / 0.8491 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.6381, allocations: 0.4977 MB / 0.8495 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.6388, allocations: 0.5262 MB / 0.8501 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.639, allocations: 117.2 kB / 0.8502 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.6399, allocations: 457.4 kB / 0.8506 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.6402, allocations: 307.4 kB / 0.8509 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006207/0.6409, allocations: 0.5767 MB / 0.8515 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.643, allocations: 1.628 MB / 0.8531 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.643, allocations: 0 / 0.8531 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.643, allocations: 7.75 kB / 0.8531 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.643, allocations: 0 / 0.8531 GB, free: 2.074 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00305/0.6461, allocations: 1.468 MB / 0.8545 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6461, allocations: 8.156 kB / 0.8545 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6463, allocations: 142.8 kB / 0.8546 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.6473, allocations: 187.2 kB / 0.8548 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.6486, allocations: 0.7608 MB / 0.8556 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.6487, allocations: 69.17 kB / 0.8556 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6488, allocations: 85.62 kB / 0.8557 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6505, allocations: 0.9468 MB / 0.8566 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6506, allocations: 0 / 0.8566 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.6507, allocations: 37.59 kB / 0.8567 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.6507, allocations: 24.56 kB / 0.8567 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.6525, allocations: 1.131 MB / 0.8578 GB, free: 14.85 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.6573, allocations: 2.761 MB / 0.8605 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.659, allocations: 0.907 MB / 0.8614 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.6596, allocations: 314.1 kB / 0.8617 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.6597, allocations: 35.58 kB / 0.8617 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.6607, allocations: 0.5247 MB / 0.8622 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/0.6607, allocations: 0 / 0.8622 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003518/0.6643, allocations: 1.255 MB / 0.8635 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.6645, allocations: 194.5 kB / 0.8636 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.6654, allocations: 0.6424 MB / 0.8643 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.6655, allocations: 42.98 kB / 0.8643 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.6659, allocations: 406.6 kB / 0.8647 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.6662, allocations: 272.5 kB / 0.865 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.6665, allocations: 156.2 kB / 0.8651 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.6667, allocations: 388.5 kB / 0.8655 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.6673, allocations: 256.4 kB / 0.8657 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/0.668, allocations: 378.8 kB / 0.8661 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.6692, allocations: 0.6116 MB / 0.8667 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6692, allocations: 0 / 0.8667 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002023/0.6712, allocations: 0.8433 MB / 0.8675 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6712, allocations: 4.406 kB / 0.8675 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6713, allocations: 6.969 kB / 0.8675 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.6719, allocations: 79.64 kB / 0.8676 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.6725, allocations: 168.4 kB / 0.8677 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.6748, allocations: 1.629 MB / 0.8693 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.6757, allocations: 93.84 kB / 0.8694 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.6757, allocations: 32.2 kB / 0.8695 GB, free: 6.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005334/0.6763, allocations: 284 kB / 0.8697 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.6765, allocations: 83.06 kB / 0.8698 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.6791, allocations: 1.141 MB / 0.8709 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.6791, allocations: 15.94 kB / 0.8709 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.6791, allocations: 0 / 0.8709 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.6791, allocations: 7.969 kB / 0.8709 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.6829, allocations: 2.023 MB / 0.8729 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6829, allocations: 0 / 0.8729 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.6836, allocations: 155.8 kB / 0.8731 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.6841, allocations: 76.78 kB / 0.8731 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/0.6841, allocations: 27.92 kB / 0.8732 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.6862, allocations: 1.666 MB / 0.8748 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6862, allocations: 0 / 0.8748 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.6886, allocations: 1.051 MB / 0.8758 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.6891, allocations: 279.6 kB / 0.8761 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6892, allocations: 23.94 kB / 0.8761 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.69, allocations: 70.03 kB / 0.8762 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6901, allocations: 76.89 kB / 0.8763 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.6902, allocations: 39.97 kB / 0.8763 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006604/0.6909, allocations: 471 kB / 0.8767 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6909, allocations: 0 / 0.8767 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001161/0.6921, allocations: 323.2 kB / 0.877 GB, free: 14.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004542/0.6966, allocations: 2.117 MB / 0.8791 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.6993, allocations: 1.059 MB / 0.8801 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6993, allocations: 0 / 0.8801 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7004, allocations: 0.5471 MB / 0.8807 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.7019, allocations: 303.7 kB / 0.881 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7136, allocations: 6.634 MB / 0.8875 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.7144, allocations: 1.036 MB / 0.8885 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009738/0.7153, allocations: 270.9 kB / 0.8887 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.716, allocations: 399.3 kB / 0.8891 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of SimCode: time 9.81e-07/0.716, allocations: 0 / 0.8891 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/0.7786, allocations: 22.06 MB / 0.9106 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.09, allocations: 14.48 kB / 0.9107 GB, free: 12.66 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)