Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_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.004671/0.004671, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001266/0.001266, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 289 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.15/1.15, allocations: 178.6 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 87.86 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3755, allocations: 89.14 MB / 0.7813 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006236/0.3818, allocations: 4.81 MB / 0.786 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.5545, allocations: 150.6 MB / 0.9331 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.5561, allocations: 15.94 kB / 0.9331 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008601/0.557, allocations: 182.3 kB / 0.9333 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.5592, allocations: 0.545 MB / 0.9338 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5614, allocations: 0.8473 MB / 0.9346 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.5632, allocations: 1.378 MB / 0.936 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.5641, allocations: 0.5908 MB / 0.9366 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.5647, allocations: 486.3 kB / 0.937 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.5654, allocations: 0.5056 MB / 0.9375 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.5656, allocations: 116 kB / 0.9376 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.5665, allocations: 479.6 kB / 0.9381 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.5669, allocations: 299 kB / 0.9384 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.5674, allocations: 0.5636 MB / 0.9389 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.5695, allocations: 1.645 MB / 0.9405 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5695, allocations: 0 / 0.9405 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5695, allocations: 0 / 0.9405 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.5695, allocations: 4 kB / 0.9405 GB, free: 5.035 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002538/0.5721, allocations: 1.467 MB / 0.942 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5721, allocations: 8.031 kB / 0.942 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.5723, allocations: 131.4 kB / 0.9421 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.5732, allocations: 196.1 kB / 0.9423 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5743, allocations: 0.7699 MB / 0.943 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.5744, allocations: 58 kB / 0.9431 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5745, allocations: 84 kB / 0.9432 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5761, allocations: 0.9184 MB / 0.9441 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.5762, allocations: 7.938 kB / 0.9441 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.5763, allocations: 36 kB / 0.9441 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5763, allocations: 20 kB / 0.9441 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.5781, allocations: 1.104 MB / 0.9452 GB, free: 104 kB / 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.004088/0.5822, allocations: 2.713 MB / 0.9479 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.5839, allocations: 0.8883 MB / 0.9487 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.5845, allocations: 302.7 kB / 0.949 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.5846, allocations: 36.59 kB / 0.949 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/0.5855, allocations: 491.3 kB / 0.9495 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/0.5855, allocations: 0 / 0.9495 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=79): time 0.003151/0.5886, allocations: 1.202 MB / 0.9507 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.5888, allocations: 188.6 kB / 0.9509 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.5896, allocations: 0.6254 MB / 0.9515 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.5897, allocations: 41.7 kB / 0.9515 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.59, allocations: 405 kB / 0.9519 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.5903, allocations: 265.7 kB / 0.9522 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.5905, allocations: 150.6 kB / 0.9523 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5907, allocations: 386.7 kB / 0.9527 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.5912, allocations: 245.9 kB / 0.9529 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.5919, allocations: 362.5 kB / 0.9533 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.593, allocations: 0.5838 MB / 0.9538 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5931, allocations: 4 kB / 0.9538 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001903/0.595, allocations: 0.7946 MB / 0.9546 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.595, allocations: 4 kB / 0.9546 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.595, allocations: 0 / 0.9546 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.5956, allocations: 96.72 kB / 0.9547 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.5962, allocations: 147.8 kB / 0.9548 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.5986, allocations: 1.647 MB / 0.9564 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.5992, allocations: 83.52 kB / 0.9565 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.5993, allocations: 32.05 kB / 0.9566 GB, free: 4 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004225/0.5997, allocations: 269.8 kB / 0.9568 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5999, allocations: 87.44 kB / 0.9569 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.6024, allocations: 1.058 MB / 0.9579 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6024, allocations: 11.94 kB / 0.9579 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6024, allocations: 0 / 0.9579 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6024, allocations: 11.97 kB / 0.958 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.6058, allocations: 1.963 MB / 0.9599 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6058, allocations: 3.984 kB / 0.9599 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.6064, allocations: 147.8 kB / 0.96 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.6068, allocations: 72.72 kB / 0.9601 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.6069, allocations: 27.97 kB / 0.9601 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.609, allocations: 1.67 MB / 0.9617 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.609, allocations: 0 / 0.9617 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.6111, allocations: 0.9984 MB / 0.9627 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.6115, allocations: 284.2 kB / 0.963 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.6117, allocations: 19.94 kB / 0.963 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.6123, allocations: 59.94 kB / 0.9631 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6125, allocations: 72.89 kB / 0.9631 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.6126, allocations: 35.98 kB / 0.9632 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006199/0.6132, allocations: 455 kB / 0.9636 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.6132, allocations: 4 kB / 0.9636 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008671/0.6141, allocations: 319.2 kB / 0.9639 GB, free: 12.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004199/0.6183, allocations: 2.048 MB / 0.9659 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.6201, allocations: 0.7999 MB / 0.9667 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6201, allocations: 0 / 0.9667 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.6211, allocations: 0.5199 MB / 0.9672 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.6224, allocations: 316.9 kB / 0.9675 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6329, allocations: 6.194 MB / 0.9735 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.6336, allocations: 1.023 MB / 0.9745 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000838/0.6345, allocations: 258.7 kB / 0.9748 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.6351, allocations: 367.3 kB / 0.9751 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.6351, allocations: 4 kB / 0.9751 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3481/0.9831, allocations: 21.62 MB / 0.9963 GB, free: 200.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.68, allocations: 10.84 kB / 0.9963 GB, free: 200.3 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)