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.0009067/0.0009067, allocations: 96.27 kB / 15.69 MB, free: 480 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.001057/0.001057, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.4/1.4, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005088, allocations: 12 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1714, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00473/0.1761, allocations: 3.698 MB / 0.5603 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4059/0.5821, allocations: 127.6 MB / 0.6849 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.5828, allocations: 15.94 kB / 0.6849 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.5832, allocations: 83.25 kB / 0.685 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.5847, allocations: 0.4945 MB / 0.6855 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.587, allocations: 0.6369 MB / 0.6861 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.5882, allocations: 0.8378 MB / 0.6869 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/0.5888, allocations: 475.9 kB / 0.6874 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.5893, allocations: 362.5 kB / 0.6877 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.5899, allocations: 350.2 kB / 0.6881 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.59, allocations: 28 kB / 0.6881 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.5909, allocations: 311.6 kB / 0.6884 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.5911, allocations: 191.2 kB / 0.6886 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.5913, allocations: 201.1 kB / 0.6888 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5925, allocations: 1.178 MB / 0.6899 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5925, allocations: 0 / 0.6899 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5925, allocations: 0 / 0.6899 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.5925, allocations: 0 / 0.6899 GB, free: 1.676 MB / 0.4981 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.002344/0.5949, allocations: 1.258 MB / 0.6911 GB, free: 380 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.5949, allocations: 8.031 kB / 0.6912 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.5951, allocations: 135.4 kB / 0.6913 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.5961, allocations: 206.4 kB / 0.6915 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5973, allocations: 0.7233 MB / 0.6922 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.5974, allocations: 69.95 kB / 0.6923 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5975, allocations: 84.86 kB / 0.6923 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5991, allocations: 0.9417 MB / 0.6933 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5991, allocations: 0 / 0.6933 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/0.5992, allocations: 36 kB / 0.6933 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5993, allocations: 20 kB / 0.6933 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.6014, allocations: 1.132 MB / 0.6944 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/0.6054, allocations: 2.58 MB / 0.6969 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6074, allocations: 0.9111 MB / 0.6978 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.605e-05/0.6075, allocations: 36.67 kB / 0.6979 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.6086, allocations: 0.5255 MB / 0.6984 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=85): time 2.405e-06/0.6086, allocations: 0 / 0.6984 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85): time 0.003841/0.6124, allocations: 1.256 MB / 0.6996 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.6125, allocations: 196.9 kB / 0.6998 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.6135, allocations: 0.6294 MB / 0.7004 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.6136, allocations: 45.64 kB / 0.7004 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.6139, allocations: 408.3 kB / 0.7008 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6142, allocations: 276.1 kB / 0.7011 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.6142, allocations: 16 kB / 0.7011 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.6144, allocations: 386.8 kB / 0.7015 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007352/0.6152, allocations: 261.8 kB / 0.7017 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/0.616, allocations: 371.4 kB / 0.7021 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.6166, allocations: 306.9 kB / 0.7024 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6166, allocations: 0 / 0.7024 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002224/0.6189, allocations: 0.8409 MB / 0.7032 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6189, allocations: 6.031 kB / 0.7032 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6189, allocations: 0 / 0.7032 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.6194, allocations: 84.89 kB / 0.7033 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.6201, allocations: 167.8 kB / 0.7034 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.622, allocations: 1.532 MB / 0.7049 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.6226, allocations: 108 kB / 0.705 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.6227, allocations: 35.97 kB / 0.7051 GB, free: 1.621 MB / 0.5137 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.0003837/0.6231, allocations: 265.3 kB / 0.7053 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6232, allocations: 90.92 kB / 0.7054 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.6255, allocations: 1.157 MB / 0.7065 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6256, allocations: 12 kB / 0.7066 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6256, allocations: 0 / 0.7066 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6256, allocations: 3.984 kB / 0.7066 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.6287, allocations: 2.04 MB / 0.7086 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6287, allocations: 0 / 0.7086 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.6293, allocations: 155.7 kB / 0.7087 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/0.6299, allocations: 96.72 kB / 0.7088 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.6299, allocations: 31.91 kB / 0.7088 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.6316, allocations: 1.548 MB / 0.7103 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6316, allocations: 4.031 kB / 0.7103 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.6334, allocations: 1.051 MB / 0.7114 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.6338, allocations: 295.5 kB / 0.7116 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6339, allocations: 20 kB / 0.7117 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.6346, allocations: 91.47 kB / 0.7118 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6348, allocations: 84.88 kB / 0.7118 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.6348, allocations: 43.91 kB / 0.7119 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005089/0.6354, allocations: 455 kB / 0.7123 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6354, allocations: 0 / 0.7123 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009032/0.6363, allocations: 315.3 kB / 0.7126 GB, free: 9.648 MB / 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.005394/0.6417, allocations: 2.101 MB / 0.7147 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.6445, allocations: 0.8354 MB / 0.7155 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6445, allocations: 0 / 0.7155 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.646, allocations: 0.5432 MB / 0.716 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6476, allocations: 248.2 kB / 0.7162 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.6575, allocations: 5.799 MB / 0.7219 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.6581, allocations: 1.063 MB / 0.7229 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008617/0.6589, allocations: 266.9 kB / 0.7232 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.6594, allocations: 403.2 kB / 0.7236 GB, free: 14.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.6594, allocations: 0 / 0.7236 GB, free: 14.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1899/0.8494, allocations: 21.71 MB / 0.7448 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004009/0.8498, allocations: 282.5 kB / 0.7451 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.295, allocations: 0 / 0.7451 GB, free: 8.754 MB / 0.5606 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: