Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 172.9 kB / 366.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 89.5 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.506e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7658, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/0.98, allocations: 138.5 MB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9804, allocations: 78.58 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002479/0.9828, allocations: 0.9167 MB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9829, allocations: 0.5938 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9829, allocations: 4 kB / 1.11 GB, free: 10.61 MB / 0.7136 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.000397/0.9833, allocations: 343.7 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.9834, allocations: 8.031 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.9834, allocations: 10.69 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.9837, allocations: 183 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9837, allocations: 8.594 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.9837, allocations: 4 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.699e-05/0.9838, allocations: 36.64 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.984, allocations: 90.8 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.984, allocations: 0 / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.984, allocations: 1.094 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.984, allocations: 4 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.9846, allocations: 0.6093 MB / 1.111 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.42e-05/0.9847, allocations: 169.5 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.9848, allocations: 80.92 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.9848, allocations: 83.2 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.534e-05/0.9849, allocations: 112.5 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.9849, allocations: 0 / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/0.985, allocations: 29.64 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.985, allocations: 51.41 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9852, allocations: 116.9 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.9852, allocations: 25.7 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.9853, allocations: 109.3 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.9853, allocations: 0 / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.9853, allocations: 0 / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9854, allocations: 320.3 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.9854, allocations: 4 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.9855, allocations: 22.56 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.9855, allocations: 8.906 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9855, allocations: 2.156 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001171/0.9856, allocations: 45.55 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9857, allocations: 9.25 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9857, allocations: 3.953 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9857, allocations: 0.8438 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.9858, allocations: 7.984 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.9858, allocations: 6.797 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.9858, allocations: 0 / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.9858, allocations: 3.969 kB / 1.112 GB, free: 7.953 MB / 0.7136 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.0001101/0.9859, allocations: 188.2 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.711e-05/0.986, allocations: 133.6 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.9861, allocations: 112.8 kB / 1.112 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.9862, allocations: 116.9 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/0.9863, allocations: 176.3 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/0.9864, allocations: 178 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/0.9866, allocations: 188.2 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.9869, allocations: 394.9 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.683e-05/0.987, allocations: 101.5 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.987, allocations: 112.9 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/0.9871, allocations: 188.3 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.9872, allocations: 180.2 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.9874, allocations: 180.2 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.905e-05/0.9874, allocations: 176.3 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.9877, allocations: 307.8 kB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.9878, allocations: 190 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9879, allocations: 176.3 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.9881, allocations: 112.9 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.9882, allocations: 185.2 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.9882, allocations: 101 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.562e-05/0.9883, allocations: 97.3 kB / 1.115 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9883, allocations: 0 / 1.115 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002645/0.9886, allocations: 11.94 kB / 1.115 GB, free: 4.211 MB / 0.7136 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.0005088/0.9891, allocations: 0.8087 MB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.9892, allocations: 12.5 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9892, allocations: 0 / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.9892, allocations: 0 / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.9896, allocations: 0.5265 MB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.9901, allocations: 206.6 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.9905, allocations: 0.6924 MB / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.9905, allocations: 4 kB / 1.118 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.9906, allocations: 15.44 kB / 1.118 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.9906, allocations: 0 / 1.118 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.01, allocations: 0.776 MB / 1.118 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.011, allocations: 162.8 kB / 1.119 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.659, allocations: 0 / 1.119 GB, free: 0.9219 MB / 0.7136 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)