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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5207/0.5207, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 102.5 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.768e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.731/3.866, allocations: 1.683 GB / 2.237 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/3.866, allocations: 91.94 kB / 2.237 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5566/4.423, allocations: 58.49 MB / 2.294 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/4.423, allocations: 4 kB / 2.294 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001378/4.423, allocations: 27.94 kB / 2.294 GB, free: 205.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003053/4.426, allocations: 1.078 MB / 2.295 GB, free: 204.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/4.426, allocations: 12.03 kB / 2.295 GB, free: 204.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/4.428, allocations: 186.6 kB / 2.296 GB, free: 204 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/4.429, allocations: 0.6034 MB / 2.296 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/4.429, allocations: 31.98 kB / 2.296 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/4.429, allocations: 44 kB / 2.296 GB, free: 203.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001471/4.431, allocations: 0.9835 MB / 2.297 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/4.432, allocations: 0.7193 MB / 2.298 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/4.432, allocations: 0 / 2.298 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/4.432, allocations: 4 kB / 2.298 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/4.432, allocations: 20 kB / 2.298 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/4.436, allocations: 2.255 MB / 2.3 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/4.437, allocations: 0.7183 MB / 2.301 GB, free: 198.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/4.437, allocations: 242.5 kB / 2.301 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.048e-05/4.437, allocations: 40.45 kB / 2.301 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/4.438, allocations: 391.7 kB / 2.301 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/4.438, allocations: 0 / 2.301 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001394/4.439, allocations: 0.6446 MB / 2.302 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/4.439, allocations: 240.1 kB / 2.302 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/4.44, allocations: 0.4906 MB / 2.303 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/4.44, allocations: 29.7 kB / 2.303 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/4.44, allocations: 380.1 kB / 2.303 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/4.44, allocations: 232.5 kB / 2.303 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/4.44, allocations: 0 / 2.303 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/4.44, allocations: 378.7 kB / 2.304 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/4.441, allocations: 189.5 kB / 2.304 GB, free: 195.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/4.441, allocations: 292.3 kB / 2.304 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/4.441, allocations: 236.4 kB / 2.304 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/4.441, allocations: 0 / 2.304 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001198/4.442, allocations: 0.6446 MB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/4.442, allocations: 9.25 kB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/4.442, allocations: 3.984 kB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/4.443, allocations: 80.88 kB / 2.305 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/4.444, allocations: 143.8 kB / 2.305 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/4.445, allocations: 1.45 MB / 2.307 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/4.446, allocations: 67.44 kB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/4.446, allocations: 31.97 kB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001494/4.446, allocations: 124.9 kB / 2.307 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001189/4.447, allocations: 0.6407 MB / 2.308 GB, free: 191.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/4.447, allocations: 75.06 kB / 2.308 GB, free: 191.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/4.449, allocations: 0.9103 MB / 2.308 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/4.449, allocations: 8 kB / 2.308 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/4.449, allocations: 0 / 2.308 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/4.449, allocations: 11.98 kB / 2.308 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/4.451, allocations: 1.683 MB / 2.31 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/4.451, allocations: 0 / 2.31 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/4.452, allocations: 155.8 kB / 2.31 GB, free: 188.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/4.452, allocations: 84.77 kB / 2.31 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/4.452, allocations: 11.98 kB / 2.31 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/4.454, allocations: 1.473 MB / 2.312 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/4.454, allocations: 3.953 kB / 2.312 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/4.455, allocations: 0.8223 MB / 2.313 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/4.455, allocations: 283.7 kB / 2.313 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/4.455, allocations: 15.89 kB / 2.313 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/4.456, allocations: 43.95 kB / 2.313 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/4.456, allocations: 68.75 kB / 2.313 GB, free: 185.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/4.456, allocations: 31.98 kB / 2.313 GB, free: 185.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004183/4.456, allocations: 402.9 kB / 2.313 GB, free: 185 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.456, allocations: 0 / 2.313 GB, free: 185 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001112/4.457, allocations: 327 kB / 2.314 GB, free: 184.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00321/4.461, allocations: 2.357 MB / 2.316 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001102/4.462, allocations: 0.6399 MB / 2.317 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/4.462, allocations: 4 kB / 2.317 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/4.462, allocations: 452.3 kB / 2.317 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/4.463, allocations: 224.1 kB / 2.317 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/4.467, allocations: 1.479 MB / 2.319 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/4.467, allocations: 1.015 MB / 2.32 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008149/4.468, allocations: 257.8 kB / 2.32 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/4.469, allocations: 355.2 kB / 2.32 GB, free: 178 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/4.469, allocations: 0 / 2.32 GB, free: 178 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/4.519, allocations: 23.02 MB / 2.343 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/4.52, allocations: 210.3 kB / 2.343 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/7.649, allocations: 0 / 2.343 GB, free: 154.8 MB / 0.6042 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)