Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 179.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 91.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/6.073, allocations: 2.19 GB / 3.09 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/6.073, allocations: 89.45 kB / 3.09 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/6.206, allocations: 62.12 MB / 3.151 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.206e-06/6.206, allocations: 3.938 kB / 3.151 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.319e-05/6.206, allocations: 27.98 kB / 3.151 GB, free: 216.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002091/6.208, allocations: 1.139 MB / 3.152 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/6.208, allocations: 12.03 kB / 3.152 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/6.208, allocations: 132.9 kB / 3.152 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/6.209, allocations: 174.7 kB / 3.152 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009919/6.21, allocations: 0.6092 MB / 3.153 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/6.21, allocations: 59.44 kB / 3.153 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/6.21, allocations: 80.42 kB / 3.153 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/6.211, allocations: 0.8333 MB / 3.154 GB, free: 214 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/6.211, allocations: 0 / 3.154 GB, free: 214 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/6.211, allocations: 39.14 kB / 3.154 GB, free: 214 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/6.212, allocations: 20 kB / 3.154 GB, free: 214 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/6.213, allocations: 1.057 MB / 3.155 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/6.216, allocations: 2.377 MB / 3.157 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/6.218, allocations: 0.7379 MB / 3.158 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.748e-05/6.218, allocations: 28.03 kB / 3.158 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006722/6.218, allocations: 431.2 kB / 3.158 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/6.218, allocations: 0 / 3.158 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002812/6.221, allocations: 1.098 MB / 3.159 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/6.221, allocations: 243.7 kB / 3.159 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/6.222, allocations: 0.5716 MB / 3.16 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/6.222, allocations: 44.56 kB / 3.16 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/6.222, allocations: 356.5 kB / 3.16 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/6.222, allocations: 233 kB / 3.161 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/6.223, allocations: 11.25 kB / 3.161 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.223, allocations: 379.3 kB / 3.161 GB, free: 208 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/6.223, allocations: 214.9 kB / 3.161 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/6.224, allocations: 328.6 kB / 3.162 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/6.224, allocations: 267.8 kB / 3.162 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/6.224, allocations: 3.938 kB / 3.162 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001615/6.226, allocations: 0.7176 MB / 3.162 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/6.226, allocations: 7.953 kB / 3.162 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/6.226, allocations: 0 / 3.162 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/6.226, allocations: 95.95 kB / 3.163 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/6.227, allocations: 135.6 kB / 3.163 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/6.229, allocations: 1.539 MB / 3.164 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/6.23, allocations: 81.88 kB / 3.164 GB, free: 205 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/6.23, allocations: 31.41 kB / 3.164 GB, free: 205 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (72): * Single equations (assignments): 71 * 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.0007248/6.23, allocations: 250.2 kB / 3.165 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/6.231, allocations: 75.11 kB / 3.165 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/6.233, allocations: 0.9982 MB / 3.166 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/6.233, allocations: 12 kB / 3.166 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/6.233, allocations: 4 kB / 3.166 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/6.233, allocations: 3.984 kB / 3.166 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/6.235, allocations: 0.8643 MB / 3.166 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/6.235, allocations: 0 / 3.166 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/6.235, allocations: 135.2 kB / 3.167 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/6.236, allocations: 91.45 kB / 3.167 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/6.236, allocations: 22.8 kB / 3.167 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/6.238, allocations: 1.571 MB / 3.168 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.238, allocations: 0 / 3.168 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/6.24, allocations: 0.8396 MB / 3.169 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/6.24, allocations: 283.9 kB / 3.169 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/6.24, allocations: 19.25 kB / 3.169 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/6.241, allocations: 66.69 kB / 3.169 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/6.241, allocations: 59.88 kB / 3.169 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/6.241, allocations: 35.42 kB / 3.169 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007392/6.242, allocations: 474 kB / 3.17 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/6.242, allocations: 0 / 3.17 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001388/6.243, allocations: 323.1 kB / 3.17 GB, free: 199.9 MB / 0.8855 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003892/6.247, allocations: 2.306 MB / 3.173 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001503/6.249, allocations: 0.7218 MB / 3.173 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/6.249, allocations: 3.938 kB / 3.173 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/6.25, allocations: 494 kB / 3.174 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/6.251, allocations: 229.2 kB / 3.174 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/6.26, allocations: 4.919 MB / 3.179 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/6.261, allocations: 1.013 MB / 3.18 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009011/6.262, allocations: 257.9 kB / 3.18 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/6.262, allocations: 337.2 kB / 3.18 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/6.262, allocations: 4 kB / 3.18 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/6.317, allocations: 28.69 MB / 3.208 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/6.317, allocations: 271.7 kB / 3.209 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/9.5, allocations: 3.938 kB / 3.209 GB, free: 162.4 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)