Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.005024/0.005024, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001295/0.001295, allocations: 196 kB / 16.67 MB, free: 6.352 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 282.6 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8803/0.8803, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 93.64 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005248/0.141, allocations: 4.285 MB / 0.7701 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4234/0.5644, allocations: 150.5 MB / 0.9171 GB, free: 8.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.565, allocations: 19.88 kB / 0.9171 GB, free: 8.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.5655, allocations: 176.5 kB / 0.9173 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.5668, allocations: 0.5027 MB / 0.9178 GB, free: 7.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.5684, allocations: 0.8206 MB / 0.9186 GB, free: 6.617 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.5694, allocations: 1.29 MB / 0.9198 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.5702, allocations: 0.599 MB / 0.9204 GB, free: 4.699 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.5706, allocations: 474.4 kB / 0.9209 GB, free: 4.234 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.5711, allocations: 485.8 kB / 0.9213 GB, free: 3.758 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.5712, allocations: 116 kB / 0.9214 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.5719, allocations: 483.5 kB / 0.9219 GB, free: 3.172 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.5721, allocations: 287.1 kB / 0.9222 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.5725, allocations: 0.5362 MB / 0.9227 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.574, allocations: 1.589 MB / 0.9242 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.574, allocations: 0 / 0.9242 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.574, allocations: 4 kB / 0.9242 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.574, allocations: 1.594 kB / 0.9242 GB, free: 0.7617 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002372/0.5764, allocations: 1.444 MB / 0.9257 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5765, allocations: 8.031 kB / 0.9257 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.5766, allocations: 135.3 kB / 0.9258 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/0.5775, allocations: 194.4 kB / 0.926 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5785, allocations: 0.7586 MB / 0.9267 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.5786, allocations: 66 kB / 0.9268 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5787, allocations: 79.94 kB / 0.9269 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5801, allocations: 0.9028 MB / 0.9277 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5801, allocations: 0 / 0.9277 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.5802, allocations: 36 kB / 0.9278 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.5802, allocations: 20 kB / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.5818, allocations: 1.097 MB / 0.9289 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.5851, allocations: 2.455 MB / 0.9313 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.5865, allocations: 0.8652 MB / 0.9321 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.587, allocations: 294.7 kB / 0.9324 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.5871, allocations: 37.53 kB / 0.9324 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007567/0.5878, allocations: 492.6 kB / 0.9329 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 1.944e-06/0.5879, allocations: 0 / 0.9329 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.00281/0.5907, allocations: 1.171 MB / 0.934 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.5908, allocations: 196.6 kB / 0.9342 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.5914, allocations: 0.6214 MB / 0.9348 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.5915, allocations: 45.45 kB / 0.9349 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.5918, allocations: 397 kB / 0.9353 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.592, allocations: 269.7 kB / 0.9355 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.5922, allocations: 142.6 kB / 0.9356 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5923, allocations: 390.7 kB / 0.936 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.5928, allocations: 241.9 kB / 0.9363 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.5933, allocations: 346.6 kB / 0.9366 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.5943, allocations: 0.5721 MB / 0.9371 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5943, allocations: 0 / 0.9371 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001675/0.596, allocations: 0.7953 MB / 0.9379 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.596, allocations: 8 kB / 0.9379 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.596, allocations: 0 / 0.9379 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/0.5966, allocations: 80.88 kB / 0.938 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.5971, allocations: 147.8 kB / 0.9381 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.599, allocations: 1.632 MB / 0.9397 GB, free: 368 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.5996, allocations: 87.59 kB / 0.9398 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.5997, allocations: 27.98 kB / 0.9398 GB, free: 252 kB / 0.6856 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.0003373/0.6, allocations: 261.7 kB / 0.9401 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6002, allocations: 91.36 kB / 0.9402 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.6023, allocations: 1.052 MB / 0.9412 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6023, allocations: 8 kB / 0.9412 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6023, allocations: 0 / 0.9412 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6023, allocations: 3.984 kB / 0.9412 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.6052, allocations: 1.915 MB / 0.9431 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6052, allocations: 4 kB / 0.9431 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.6057, allocations: 147.7 kB / 0.9432 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.6062, allocations: 68.78 kB / 0.9433 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.6062, allocations: 27.98 kB / 0.9433 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.6079, allocations: 1.651 MB / 0.9449 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6079, allocations: 3.938 kB / 0.9449 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6098, allocations: 0.9945 MB / 0.9459 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.6101, allocations: 276 kB / 0.9462 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.6102, allocations: 16 kB / 0.9462 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.6109, allocations: 67.67 kB / 0.9463 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.611, allocations: 68.91 kB / 0.9463 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.6111, allocations: 35.97 kB / 0.9464 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005047/0.6116, allocations: 451 kB / 0.9468 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6116, allocations: 4 kB / 0.9468 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007337/0.6123, allocations: 303.2 kB / 0.9471 GB, free: 8.574 MB / 0.7012 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.00318/0.6155, allocations: 2.037 MB / 0.9491 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.617, allocations: 0.7895 MB / 0.9498 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.617, allocations: 0 / 0.9498 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008411/0.6179, allocations: 0.5199 MB / 0.9504 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.619, allocations: 294.5 kB / 0.9506 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/0.6287, allocations: 6.252 MB / 0.9567 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.6292, allocations: 1.015 MB / 0.9577 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007025/0.6299, allocations: 258.6 kB / 0.958 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.6304, allocations: 379.3 kB / 0.9583 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.6304, allocations: 0 / 0.9583 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.6767, allocations: 20.94 MB / 0.9788 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.13, allocations: 12.17 kB / 0.9788 GB, free: 8.5 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_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_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)