Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001479/0.001479, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001718/0.001718, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.208/1.208, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2776, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004837/0.2825, allocations: 4.798 MB / 0.572 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1281/0.4106, allocations: 150.6 MB / 0.719 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.4115, allocations: 15.94 kB / 0.7191 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.4122, allocations: 190.2 kB / 0.7192 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.414, allocations: 0.5353 MB / 0.7198 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.4159, allocations: 0.8294 MB / 0.7206 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4172, allocations: 1.378 MB / 0.7219 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.418, allocations: 0.5869 MB / 0.7225 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.4186, allocations: 486.4 kB / 0.723 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.4191, allocations: 0.5017 MB / 0.7234 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4193, allocations: 116 kB / 0.7236 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.4201, allocations: 455.7 kB / 0.724 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.4204, allocations: 303 kB / 0.7243 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.4208, allocations: 0.5636 MB / 0.7248 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.4224, allocations: 1.605 MB / 0.7264 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4224, allocations: 0 / 0.7264 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4224, allocations: 0 / 0.7264 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.4225, allocations: 0 / 0.7264 GB, free: 7.281 MB / 0.5606 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.002765/0.4252, allocations: 1.43 MB / 0.7278 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4253, allocations: 12.62 kB / 0.7278 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.4254, allocations: 135.4 kB / 0.7279 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.4264, allocations: 183.4 kB / 0.7281 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.4274, allocations: 0.7381 MB / 0.7288 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.4275, allocations: 62 kB / 0.7289 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4276, allocations: 84 kB / 0.729 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.429, allocations: 0.924 MB / 0.7299 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.429, allocations: 4 kB / 0.7299 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.4291, allocations: 32 kB / 0.7299 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4291, allocations: 20 kB / 0.7299 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.4308, allocations: 1.108 MB / 0.731 GB, free: 2.418 MB / 0.5606 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.003581/0.4343, allocations: 2.728 MB / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.4358, allocations: 0.8909 MB / 0.7345 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.4363, allocations: 302.7 kB / 0.7348 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.4364, allocations: 28.61 kB / 0.7349 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.4371, allocations: 0.4952 MB / 0.7353 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.176e-06/0.4371, allocations: 0 / 0.7353 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.00283/0.44, allocations: 1.198 MB / 0.7365 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.4401, allocations: 192.6 kB / 0.7367 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.4407, allocations: 0.6214 MB / 0.7373 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.4408, allocations: 41.7 kB / 0.7373 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.441, allocations: 392.4 kB / 0.7377 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.4412, allocations: 252.3 kB / 0.738 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.4414, allocations: 146.5 kB / 0.7381 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4415, allocations: 394.7 kB / 0.7385 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.442, allocations: 249.9 kB / 0.7387 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.4425, allocations: 354.5 kB / 0.7391 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.4435, allocations: 0.5838 MB / 0.7396 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4435, allocations: 0 / 0.7396 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001683/0.4452, allocations: 0.798 MB / 0.7404 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4453, allocations: 4 kB / 0.7404 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4453, allocations: 96 / 0.7404 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.4458, allocations: 88.7 kB / 0.7405 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.4464, allocations: 155.8 kB / 0.7406 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.4482, allocations: 1.642 MB / 0.7422 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.4488, allocations: 89.44 kB / 0.7423 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.4489, allocations: 27.98 kB / 0.7424 GB, free: 6.324 MB / 0.5762 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.0003072/0.4492, allocations: 273.6 kB / 0.7426 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4493, allocations: 82.97 kB / 0.7427 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.4515, allocations: 1.058 MB / 0.7437 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4515, allocations: 11.94 kB / 0.7437 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4516, allocations: 0 / 0.7437 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4516, allocations: 11.97 kB / 0.7438 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.4544, allocations: 1.966 MB / 0.7457 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4544, allocations: 0 / 0.7457 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.4549, allocations: 143.8 kB / 0.7458 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.4554, allocations: 68.8 kB / 0.7459 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.4554, allocations: 31.95 kB / 0.7459 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.4571, allocations: 1.67 MB / 0.7475 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4571, allocations: 3.938 kB / 0.7475 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2056/0.6627, allocations: 0.9935 MB / 0.7485 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.6632, allocations: 271.5 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.6634, allocations: 19.42 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.6642, allocations: 68.56 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.6644, allocations: 68.22 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.6644, allocations: 33.94 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006418/0.6651, allocations: 457.2 kB / 0.7494 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6651, allocations: 2.656 kB / 0.7494 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009205/0.666, allocations: 314.7 kB / 0.7497 GB, free: 170.6 MB / 0.5762 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.003299/0.6693, allocations: 2.043 MB / 0.7517 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.6718, allocations: 0.9916 MB / 0.7527 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6719, allocations: 0 / 0.7527 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.6728, allocations: 0.5145 MB / 0.7532 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6739, allocations: 296.1 kB / 0.7534 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.6829, allocations: 6.413 MB / 0.7597 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.6834, allocations: 1.02 MB / 0.7607 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000793/0.6842, allocations: 263 kB / 0.7609 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.6846, allocations: 375.7 kB / 0.7613 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.6846, allocations: 0 / 0.7613 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.7234, allocations: 21.32 MB / 0.7821 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.03, allocations: 13.48 kB / 0.7821 GB, free: 152.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)