Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.005283/0.005288, allocations: 99.44 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 294.3 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 178.6 MB / 0.5074 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 95.84 kB / 0.6943 GB, free: 3.664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4305, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006622/0.4372, allocations: 4.917 MB / 0.7861 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1725/0.6097, allocations: 150.6 MB / 0.9332 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.6106, allocations: 15.94 kB / 0.9333 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.6112, allocations: 190.2 kB / 0.9334 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.6131, allocations: 0.5521 MB / 0.934 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6152, allocations: 0.8555 MB / 0.9348 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.6169, allocations: 1.429 MB / 0.9362 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.6177, allocations: 0.5831 MB / 0.9368 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.6184, allocations: 0.4905 MB / 0.9373 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.6191, allocations: 0.5173 MB / 0.9378 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.6192, allocations: 116 kB / 0.9379 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.6202, allocations: 491.5 kB / 0.9383 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.6205, allocations: 311 kB / 0.9386 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.6211, allocations: 0.5791 MB / 0.9392 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.6231, allocations: 1.667 MB / 0.9408 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.6231, allocations: 0 / 0.9408 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6231, allocations: 4 kB / 0.9408 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.6231, allocations: 0 / 0.9408 GB, free: 11.34 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002634/0.6258, allocations: 1.504 MB / 0.9423 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6258, allocations: 8.031 kB / 0.9423 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.626, allocations: 143.5 kB / 0.9424 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.6269, allocations: 196 kB / 0.9426 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.628, allocations: 0.7746 MB / 0.9434 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.6281, allocations: 66 kB / 0.9435 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6282, allocations: 87.98 kB / 0.9435 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6299, allocations: 0.9418 MB / 0.9445 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6299, allocations: 0 / 0.9445 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.63, allocations: 36 kB / 0.9445 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.63, allocations: 28 kB / 0.9445 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.6319, allocations: 1.124 MB / 0.9456 GB, free: 6.305 MB / 0.7012 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.004076/0.636, allocations: 2.74 MB / 0.9483 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.6377, allocations: 0.9098 MB / 0.9492 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.6382, allocations: 310.7 kB / 0.9495 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.6383, allocations: 32.69 kB / 0.9495 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009115/0.6393, allocations: 0.5176 MB / 0.95 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.194e-06/0.6393, allocations: 0 / 0.95 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003308/0.6426, allocations: 1.255 MB / 0.9512 GB, free: 364 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6427, allocations: 196.9 kB / 0.9514 GB, free: 124 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.6435, allocations: 0.6411 MB / 0.952 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.6436, allocations: 45.7 kB / 0.9521 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.644, allocations: 409.1 kB / 0.9525 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.6442, allocations: 277.6 kB / 0.9527 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.6445, allocations: 154.6 kB / 0.9529 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.6446, allocations: 386.8 kB / 0.9533 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.6452, allocations: 261.8 kB / 0.9535 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.6458, allocations: 370.5 kB / 0.9539 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.647, allocations: 0.6008 MB / 0.9545 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.647, allocations: 4 kB / 0.9545 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001944/0.649, allocations: 0.8335 MB / 0.9553 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.649, allocations: 7.938 kB / 0.9553 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.649, allocations: 7.922 kB / 0.9553 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/0.6496, allocations: 84.86 kB / 0.9554 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.6503, allocations: 155.8 kB / 0.9555 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.6525, allocations: 1.627 MB / 0.9571 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.6532, allocations: 92.52 kB / 0.9572 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.6533, allocations: 35.92 kB / 0.9572 GB, free: 9.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (91): * Single equations (assignments): 90 * 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.0004281/0.6538, allocations: 281.4 kB / 0.9575 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.6539, allocations: 87.44 kB / 0.9576 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.6565, allocations: 1.148 MB / 0.9587 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6565, allocations: 12 kB / 0.9587 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6565, allocations: 0 / 0.9587 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6565, allocations: 3.984 kB / 0.9587 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.6599, allocations: 2.017 MB / 0.9607 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6599, allocations: 0 / 0.9607 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.6605, allocations: 159.8 kB / 0.9608 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.661, allocations: 72.78 kB / 0.9609 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.6611, allocations: 27.98 kB / 0.9609 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.663, allocations: 1.654 MB / 0.9625 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6631, allocations: 0 / 0.9625 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6652, allocations: 1.053 MB / 0.9636 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.6656, allocations: 288.1 kB / 0.9639 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6657, allocations: 24 kB / 0.9639 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.6664, allocations: 68.12 kB / 0.9639 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.6666, allocations: 84.81 kB / 0.964 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.6667, allocations: 39.97 kB / 0.9641 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005982/0.6673, allocations: 467 kB / 0.9645 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6673, allocations: 4 kB / 0.9645 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008469/0.6681, allocations: 331.1 kB / 0.9648 GB, free: 1.891 MB / 0.7169 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 (99): * Single equations (assignments): 92 * 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.004167/0.6723, allocations: 2.101 MB / 0.9669 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.674, allocations: 0.8233 MB / 0.9677 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6741, allocations: 4 kB / 0.9677 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.675, allocations: 0.5395 MB / 0.9682 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6763, allocations: 316.1 kB / 0.9685 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6867, allocations: 6.399 MB / 0.9748 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.6875, allocations: 1.039 MB / 0.9758 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008038/0.6883, allocations: 270.8 kB / 0.976 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.6889, allocations: 411.3 kB / 0.9764 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.6889, allocations: 0 / 0.9764 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05701/0.7459, allocations: 22.28 MB / 0.9982 GB, free: 108 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.67, allocations: 12.09 kB / 0.9982 GB, free: 100 kB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)