Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.0007448/0.0007448, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007771/0.0007771, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.273/1.273, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.632/0.632, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004222/0.1462, allocations: 3.799 MB / 0.5606 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4202/0.5664, allocations: 136.8 MB / 0.6942 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.5671, allocations: 15.94 kB / 0.6942 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.5675, allocations: 126.9 kB / 0.6943 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.5687, allocations: 441.3 kB / 0.6948 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.5703, allocations: 0.6362 MB / 0.6954 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5714, allocations: 1.164 MB / 0.6965 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006804/0.5721, allocations: 478.7 kB / 0.697 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.5725, allocations: 346.4 kB / 0.6973 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.573, allocations: 386 kB / 0.6977 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.5731, allocations: 28 kB / 0.6977 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.5738, allocations: 335.7 kB / 0.698 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.574, allocations: 195.1 kB / 0.6982 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.5741, allocations: 197.1 kB / 0.6984 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.5752, allocations: 1.185 MB / 0.6996 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5752, allocations: 0 / 0.6996 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5752, allocations: 0 / 0.6996 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.5753, allocations: 0 / 0.6996 GB, free: 8.648 MB / 0.5137 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.00218/0.5774, allocations: 1.246 MB / 0.7008 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5775, allocations: 12.03 kB / 0.7008 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.5776, allocations: 139.4 kB / 0.7009 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.5784, allocations: 202.4 kB / 0.7011 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009927/0.5794, allocations: 0.7272 MB / 0.7018 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.5795, allocations: 69.95 kB / 0.7019 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5796, allocations: 83.98 kB / 0.702 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.5811, allocations: 0.9418 MB / 0.7029 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5811, allocations: 0 / 0.7029 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.5812, allocations: 36 kB / 0.7029 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.5812, allocations: 24 kB / 0.7029 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.583, allocations: 1.128 MB / 0.704 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.5866, allocations: 2.587 MB / 0.7066 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.588, allocations: 0.911 MB / 0.7075 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.5885, allocations: 314.7 kB / 0.7078 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.5886, allocations: 34.67 kB / 0.7078 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008759/0.5895, allocations: 0.5159 MB / 0.7083 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=85): time 3.627e-06/0.5895, allocations: 7.828 kB / 0.7083 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85): time 0.00292/0.5925, allocations: 1.267 MB / 0.7095 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.5926, allocations: 192.9 kB / 0.7097 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.5934, allocations: 0.6294 MB / 0.7103 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.5935, allocations: 41.7 kB / 0.7104 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.5938, allocations: 412.3 kB / 0.7108 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.594, allocations: 272 kB / 0.711 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.5941, allocations: 16 kB / 0.711 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5943, allocations: 386.8 kB / 0.7114 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.5948, allocations: 257.9 kB / 0.7117 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.5954, allocations: 379.4 kB / 0.712 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.5959, allocations: 298.9 kB / 0.7123 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5959, allocations: 0 / 0.7123 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001661/0.5976, allocations: 0.8485 MB / 0.7131 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5976, allocations: 4 kB / 0.7131 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5976, allocations: 4 kB / 0.7131 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.5981, allocations: 84.89 kB / 0.7132 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.5988, allocations: 163.8 kB / 0.7134 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.6006, allocations: 1.517 MB / 0.7149 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.6012, allocations: 99.39 kB / 0.715 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.6013, allocations: 43.91 kB / 0.715 GB, free: 8.289 MB / 0.5294 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003799/0.6016, allocations: 257.9 kB / 0.7152 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6018, allocations: 94.91 kB / 0.7153 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6041, allocations: 1.153 MB / 0.7165 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6041, allocations: 8 kB / 0.7165 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6041, allocations: 4 kB / 0.7165 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6041, allocations: 3.984 kB / 0.7165 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.6072, allocations: 2.036 MB / 0.7185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6072, allocations: 0 / 0.7185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.6078, allocations: 167.7 kB / 0.7186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.6082, allocations: 84.77 kB / 0.7187 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.6083, allocations: 31.97 kB / 0.7187 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.61, allocations: 1.54 MB / 0.7202 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.61, allocations: 3.938 kB / 0.7202 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6119, allocations: 1.055 MB / 0.7213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6123, allocations: 295.5 kB / 0.7216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6124, allocations: 24 kB / 0.7216 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.6131, allocations: 85.7 kB / 0.7217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.6132, allocations: 80.88 kB / 0.7217 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.6133, allocations: 31.98 kB / 0.7218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006028/0.6139, allocations: 463 kB / 0.7222 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6139, allocations: 0 / 0.7222 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000879/0.6148, allocations: 319.3 kB / 0.7225 GB, free: 336 kB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003429/0.6183, allocations: 2.108 MB / 0.7246 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.6199, allocations: 0.8351 MB / 0.7254 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.62, allocations: 256 / 0.7254 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.6209, allocations: 0.5431 MB / 0.7259 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.622, allocations: 263.1 kB / 0.7262 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6323, allocations: 5.253 MB / 0.7313 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.633, allocations: 1.039 MB / 0.7323 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008836/0.6339, allocations: 266.8 kB / 0.7326 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.6345, allocations: 399.2 kB / 0.733 GB, free: 5.648 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.6345, allocations: 0 / 0.733 GB, free: 5.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.6739, allocations: 21.75 MB / 0.7542 GB, free: 332 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6742, allocations: 284 kB / 0.7545 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.994, allocations: 6.25 kB / 0.7545 GB, free: 15.96 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: