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.402/1.402, allocations: 249.5 MB / 257 MB, free: 7.023 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.001006/0.001006, allocations: 180.9 kB / 316.3 MB, free: 3.246 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.828/1.828, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008993/0.0008989, allocations: 100.5 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.914e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2532, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/1.107, allocations: 132.2 MB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.108, allocations: 74.52 kB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00237/1.11, allocations: 0.9105 MB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.012e-06/1.11, allocations: 4 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.11, allocations: 4 kB / 1.015 GB, free: 4.715 MB / 0.6355 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.0003535/1.111, allocations: 341.1 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.111, allocations: 8.031 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/1.111, allocations: 8.75 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/1.111, allocations: 194.7 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.111, allocations: 4 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.111, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.53e-05/1.111, allocations: 35.55 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/1.111, allocations: 87.69 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.111, allocations: 3.938 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.111, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.111, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/1.112, allocations: 0.6078 MB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/1.112, allocations: 173.1 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/1.112, allocations: 84.14 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/1.112, allocations: 75.28 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.112, allocations: 112.3 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.112, allocations: 3.938 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.262e-05/1.112, allocations: 29.7 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.112, allocations: 55.34 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.112, allocations: 116.3 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.112, allocations: 29.7 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/1.112, allocations: 107.7 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.112, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/1.112, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.113, allocations: 314.3 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/1.113, allocations: 4 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/1.113, allocations: 22.45 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/1.113, allocations: 11.98 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.113, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.948e-05/1.113, allocations: 45.33 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.113, allocations: 11.95 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.113, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.113, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/1.113, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.113, allocations: 11.92 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/1.113, allocations: 8 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/1.113, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 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 () * 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.0001126/1.113, allocations: 184.2 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.333e-05/1.113, allocations: 130.7 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/1.113, allocations: 116.7 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/1.113, allocations: 112.9 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/1.113, allocations: 180.3 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-05/1.113, allocations: 180.2 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.858e-05/1.114, allocations: 176.3 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/1.114, allocations: 401 kB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/1.114, allocations: 105.4 kB / 1.019 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/1.114, allocations: 101 kB / 1.019 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-05/1.114, allocations: 195.8 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/1.114, allocations: 188.2 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/1.114, allocations: 176.3 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-05/1.114, allocations: 176.3 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/1.114, allocations: 315.6 kB / 1.02 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/1.114, allocations: 182.1 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/1.115, allocations: 188.1 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/1.115, allocations: 101 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/1.115, allocations: 181.2 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/1.115, allocations: 108.9 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.835e-05/1.115, allocations: 94.97 kB / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.115, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000232/1.115, allocations: 15.84 kB / 1.021 GB, free: 14.36 MB / 0.6511 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 () * 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.0004191/1.116, allocations: 0.8005 MB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.468e-05/1.116, allocations: 15.94 kB / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.116, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/1.116, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.116, allocations: 0.5223 MB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/1.116, allocations: 196.4 kB / 1.023 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/1.117, allocations: 0.7003 MB / 1.023 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.675e-05/1.117, allocations: 4.5 kB / 1.023 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/1.117, allocations: 15.12 kB / 1.023 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.117, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/1.135, allocations: 0.7874 MB / 1.024 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.135, allocations: 168.7 kB / 1.024 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.677, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.6511 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)