Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001231/0.001231, allocations: 179.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0009051/0.0009053, allocations: 93.48 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.000419, allocations: 11.81 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.5357, allocations: 132 MB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.536, allocations: 79.94 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002682/0.5387, allocations: 0.9193 MB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5388, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.5388, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000434/0.5392, allocations: 367.1 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5393, allocations: 8.031 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.5394, allocations: 38.56 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.5394, allocations: 7.906 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.5397, allocations: 183 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5397, allocations: 7.938 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5397, allocations: 8 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5399, allocations: 100.2 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5399, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.54, allocations: 4 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.54, allocations: 7.938 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.5401, allocations: 43.91 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.5408, allocations: 0.6478 MB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.541, allocations: 169.1 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.541, allocations: 75.28 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.5411, allocations: 110.5 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5411, allocations: 4 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.612e-05/0.5412, allocations: 37.59 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.5413, allocations: 126.7 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5415, allocations: 155.5 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5415, allocations: 25.7 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.5416, allocations: 104 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.5416, allocations: 0 / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.5416, allocations: 0 / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5417, allocations: 322.8 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.5418, allocations: 4 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.5418, allocations: 22.52 kB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.5418, allocations: 8 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5419, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001444/0.542, allocations: 65.48 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.542, allocations: 4 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.542, allocations: 4 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5421, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.5421, allocations: 4 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5421, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.5422, allocations: 11.84 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.5422, allocations: 0 / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.5423, allocations: 201.2 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.5424, allocations: 118.6 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.5425, allocations: 116.9 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-05/0.5426, allocations: 184.2 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-05/0.5427, allocations: 176.3 kB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/0.5428, allocations: 176.3 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.5431, allocations: 437.1 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.141e-05/0.5431, allocations: 101 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.5432, allocations: 108.9 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-05/0.5433, allocations: 188.2 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/0.5434, allocations: 184.2 kB / 1.034 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.5434, allocations: 184.2 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.799e-05/0.5435, allocations: 176.3 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.5438, allocations: 311.7 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5439, allocations: 190 kB / 1.035 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.544, allocations: 188.2 kB / 1.035 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5441, allocations: 105.8 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.5442, allocations: 184.2 kB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.5442, allocations: 105 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001176/0.5444, allocations: 126.7 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5444, allocations: 0 / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000273/0.5446, allocations: 8 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005019/0.5452, allocations: 0.8164 MB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.5452, allocations: 4 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5453, allocations: 4 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.5453, allocations: 0 / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.5456, allocations: 0.5342 MB / 1.037 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5468, allocations: 0.9222 MB / 1.038 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.5472, allocations: 0.6926 MB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.5472, allocations: 15.84 kB / 1.039 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.5473, allocations: 19.44 kB / 1.039 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.5473, allocations: 0 / 1.039 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.5612, allocations: 1.458 MB / 1.04 GB, free: 15.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.5614, allocations: 205.7 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.441, allocations: 4 kB / 1.041 GB, free: 15.37 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)