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.0012/0.0012, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4758/0.4758, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.000836, allocations: 99.16 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 15.98 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, allocations: 72.3 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.202/4.362, allocations: 1.684 GB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/4.362, allocations: 101.8 kB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1314/4.494, allocations: 59.64 MB / 2.311 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.757e-06/4.494, allocations: 0 / 2.311 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001451/4.494, allocations: 31.94 kB / 2.311 GB, free: 112.5 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.003201/4.497, allocations: 1.175 MB / 2.313 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/4.497, allocations: 8.031 kB / 2.313 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003546/4.498, allocations: 131 kB / 2.313 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/4.499, allocations: 186.6 kB / 2.313 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/4.5, allocations: 0.6114 MB / 2.313 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/4.5, allocations: 62 kB / 2.314 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/4.5, allocations: 80 kB / 2.314 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/4.502, allocations: 0.8676 MB / 2.314 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/4.502, allocations: 0 / 2.314 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/4.502, allocations: 32 kB / 2.314 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/4.502, allocations: 20 kB / 2.314 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/4.503, allocations: 1.081 MB / 2.316 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/4.507, allocations: 2.418 MB / 2.318 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/4.509, allocations: 0.8102 MB / 2.319 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.624e-05/4.509, allocations: 32.62 kB / 2.319 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/4.51, allocations: 431.2 kB / 2.319 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 4.188e-06/4.51, allocations: 0 / 2.319 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.002893/4.512, allocations: 1.101 MB / 2.32 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/4.513, allocations: 240 kB / 2.32 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/4.513, allocations: 0.5853 MB / 2.321 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.93e-05/4.514, allocations: 49.69 kB / 2.321 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/4.514, allocations: 379.2 kB / 2.321 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/4.514, allocations: 236.5 kB / 2.322 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/4.514, allocations: 12 kB / 2.322 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000117/4.514, allocations: 378.8 kB / 2.322 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/4.515, allocations: 221.2 kB / 2.322 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/4.515, allocations: 336.4 kB / 2.323 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/4.516, allocations: 267 kB / 2.323 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/4.516, allocations: 0 / 2.323 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001603/4.517, allocations: 0.7315 MB / 2.324 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/4.517, allocations: 4 kB / 2.324 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/4.517, allocations: 4 kB / 2.324 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/4.518, allocations: 76.88 kB / 2.324 GB, free: 99.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/4.518, allocations: 143.8 kB / 2.324 GB, free: 99.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/4.52, allocations: 1.536 MB / 2.325 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/4.521, allocations: 75.36 kB / 2.325 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/4.521, allocations: 27.98 kB / 2.325 GB, free: 97.71 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 () * Number of clocked 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.0005372/4.522, allocations: 257.7 kB / 2.326 GB, free: 97.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/4.522, allocations: 83.05 kB / 2.326 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/4.524, allocations: 1.021 MB / 2.327 GB, free: 96.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/4.524, allocations: 8 kB / 2.327 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/4.524, allocations: 0 / 2.327 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/4.524, allocations: 3.984 kB / 2.327 GB, free: 96.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/4.527, allocations: 1.923 MB / 2.329 GB, free: 94.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/4.527, allocations: 0 / 2.329 GB, free: 94.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/4.528, allocations: 147.8 kB / 2.329 GB, free: 94.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/4.529, allocations: 88.7 kB / 2.329 GB, free: 94.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/4.529, allocations: 23.98 kB / 2.329 GB, free: 94.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/4.53, allocations: 1.563 MB / 2.33 GB, free: 92.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/4.53, allocations: 4 kB / 2.33 GB, free: 92.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/4.532, allocations: 0.9181 MB / 2.331 GB, free: 91.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/4.533, allocations: 283.7 kB / 2.331 GB, free: 91.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/4.533, allocations: 19.95 kB / 2.332 GB, free: 91.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/4.533, allocations: 63.95 kB / 2.332 GB, free: 91.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/4.534, allocations: 68.84 kB / 2.332 GB, free: 90.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/4.534, allocations: 31.98 kB / 2.332 GB, free: 90.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006303/4.534, allocations: 483 kB / 2.332 GB, free: 90.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.534, allocations: 0 / 2.332 GB, free: 90.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001321/4.536, allocations: 359.2 kB / 2.332 GB, free: 90.14 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) * Number of clocked states: 0 () * 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.00391/4.539, allocations: 2.429 MB / 2.335 GB, free: 87.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001429/4.541, allocations: 0.7321 MB / 2.336 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/4.541, allocations: 0 / 2.336 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/4.542, allocations: 0.4925 MB / 2.336 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/4.543, allocations: 240.9 kB / 2.336 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009522/4.553, allocations: 5.161 MB / 2.341 GB, free: 81.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/4.553, allocations: 1.031 MB / 2.342 GB, free: 80.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009547/4.554, allocations: 250.2 kB / 2.343 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/4.555, allocations: 351.3 kB / 2.343 GB, free: 79.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/4.555, allocations: 0 / 2.343 GB, free: 79.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/4.609, allocations: 29.18 MB / 2.371 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/4.609, allocations: 271.7 kB / 2.372 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/7.892, allocations: 4 kB / 2.372 GB, free: 50.25 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)