Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.448/1.448, allocations: 249.3 MB / 261.8 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 176.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008641/0.000864, allocations: 94.39 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 7.639e-05/7.714e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 106.3 MB / 0.8919 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.217/6.513, allocations: 2.19 GB / 3.082 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/6.513, allocations: 95.19 kB / 3.082 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1259/6.639, allocations: 57.52 MB / 3.138 GB, free: 86.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.266e-06/6.639, allocations: 0 / 3.138 GB, free: 86.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000135/6.64, allocations: 31.98 kB / 3.138 GB, free: 86 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002548/6.642, allocations: 1.031 MB / 3.139 GB, free: 84.92 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/6.642, allocations: 12.03 kB / 3.139 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/6.642, allocations: 126.8 kB / 3.139 GB, free: 84.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/6.644, allocations: 186.6 kB / 3.139 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/6.645, allocations: 0.5997 MB / 3.14 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/6.645, allocations: 58 kB / 3.14 GB, free: 83.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/6.645, allocations: 72 kB / 3.14 GB, free: 83.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/6.646, allocations: 0.8208 MB / 3.141 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/6.646, allocations: 0 / 3.141 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/6.646, allocations: 36 kB / 3.141 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/6.646, allocations: 19.95 kB / 3.141 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/6.648, allocations: 1.015 MB / 3.142 GB, free: 81.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/6.651, allocations: 2.375 MB / 3.144 GB, free: 79.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/6.652, allocations: 0.7546 MB / 3.145 GB, free: 78.67 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/6.652, allocations: 258.5 kB / 3.145 GB, free: 78.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/6.653, allocations: 32.58 kB / 3.145 GB, free: 78.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/6.653, allocations: 413 kB / 3.145 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/6.653, allocations: 0 / 3.145 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.001478/6.655, allocations: 0.6808 MB / 3.146 GB, free: 77.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/6.655, allocations: 244 kB / 3.146 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/6.655, allocations: 0.5697 MB / 3.147 GB, free: 76.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/6.655, allocations: 37.7 kB / 3.147 GB, free: 76.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/6.656, allocations: 368.2 kB / 3.147 GB, free: 75.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/6.656, allocations: 232.6 kB / 3.148 GB, free: 75.76 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/6.656, allocations: 16 kB / 3.148 GB, free: 75.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/6.656, allocations: 378.8 kB / 3.148 GB, free: 75.37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/6.656, allocations: 197.5 kB / 3.148 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/6.656, allocations: 297.1 kB / 3.148 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/6.657, allocations: 250 kB / 3.149 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/6.657, allocations: 0 / 3.149 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001268/6.658, allocations: 0.6837 MB / 3.149 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/6.658, allocations: 4 kB / 3.149 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/6.658, allocations: 3.938 kB / 3.149 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/6.659, allocations: 92.77 kB / 3.149 GB, free: 73.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/6.659, allocations: 135.8 kB / 3.15 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/6.661, allocations: 1.52 MB / 3.151 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/6.661, allocations: 75.44 kB / 3.151 GB, free: 71.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/6.661, allocations: 27.97 kB / 3.151 GB, free: 71.91 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001362/6.662, allocations: 147.2 kB / 3.151 GB, free: 71.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/6.662, allocations: 79.02 kB / 3.151 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/6.664, allocations: 0.9691 MB / 3.152 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/6.664, allocations: 12 kB / 3.152 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/6.664, allocations: 0 / 3.152 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/6.664, allocations: 7.984 kB / 3.152 GB, free: 70.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/6.666, allocations: 1.851 MB / 3.154 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/6.666, allocations: 0 / 3.154 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/6.667, allocations: 147.8 kB / 3.154 GB, free: 68.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/6.667, allocations: 84.72 kB / 3.154 GB, free: 68.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/6.667, allocations: 23.98 kB / 3.154 GB, free: 68.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/6.669, allocations: 1.544 MB / 3.156 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/6.669, allocations: 0 / 3.156 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/6.67, allocations: 0.8728 MB / 3.157 GB, free: 65.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/6.67, allocations: 275.8 kB / 3.157 GB, free: 65.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/6.67, allocations: 19.98 kB / 3.157 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/6.671, allocations: 72.02 kB / 3.157 GB, free: 65.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/6.671, allocations: 56.69 kB / 3.157 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/6.671, allocations: 31.98 kB / 3.157 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005036/6.672, allocations: 471.1 kB / 3.158 GB, free: 65.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.672, allocations: 0 / 3.158 GB, free: 65.03 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001037/6.673, allocations: 335.1 kB / 3.158 GB, free: 64.7 MB / 0.8698 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 (86): * Single equations (assignments): 83 * 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.003082/6.676, allocations: 2.308 MB / 3.16 GB, free: 62.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001211/6.677, allocations: 0.6746 MB / 3.161 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/6.677, allocations: 0 / 3.161 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/6.678, allocations: 471.1 kB / 3.161 GB, free: 61.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/6.679, allocations: 248 kB / 3.162 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/6.683, allocations: 1.528 MB / 3.163 GB, free: 59.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/6.683, allocations: 1.015 MB / 3.164 GB, free: 58.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007761/6.684, allocations: 250 kB / 3.164 GB, free: 58.19 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/6.685, allocations: 351.3 kB / 3.165 GB, free: 57.85 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/6.685, allocations: 0 / 3.165 GB, free: 57.85 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/6.731, allocations: 30.44 MB / 3.194 GB, free: 27.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/6.731, allocations: 258.4 kB / 3.195 GB, free: 27.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/9.774, allocations: 0 / 3.195 GB, free: 27.32 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)