Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.004/4.004, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.002152/0.002152, allocations: 182 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.038/4.038, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001782/0.001782, allocations: 98.05 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008244/0.0008249, allocations: 11.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4349, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.8441, allocations: 131.8 MB / 1.028 GB, free: 13.56 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000443/0.8446, allocations: 83.95 kB / 1.028 GB, free: 13.48 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004685/0.8493, allocations: 0.9206 MB / 1.029 GB, free: 12.56 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8494, allocations: 0 / 1.029 GB, free: 12.56 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.8494, allocations: 0 / 1.029 GB, free: 12.56 MB / 0.6824 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.0006129/0.8501, allocations: 351.3 kB / 1.03 GB, free: 12.16 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 9.974e-05/0.8502, allocations: 12.03 kB / 1.03 GB, free: 12.15 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.8503, allocations: 8.844 kB / 1.03 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.8506, allocations: 192.2 kB / 1.03 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8507, allocations: 4.375 kB / 1.03 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.8507, allocations: 8.375 kB / 1.03 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.851, allocations: 92.8 kB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8511, allocations: 192 / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.8511, allocations: 11.94 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.8511, allocations: 0 / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.8513, allocations: 35.92 kB / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.8525, allocations: 0.6479 MB / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.8528, allocations: 177.1 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.8528, allocations: 84.08 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.8529, allocations: 79.28 kB / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.172e-05/0.853, allocations: 105.8 kB / 1.031 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=0): time 3.597e-06/0.853, allocations: 0 / 1.031 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0): time 0.0001755/0.8532, allocations: 49.53 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/0.8533, allocations: 128.3 kB / 1.031 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.8537, allocations: 174.1 kB / 1.031 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.8538, allocations: 25.7 kB / 1.031 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.8539, allocations: 108 kB / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.8539, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.8539, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.8541, allocations: 322.8 kB / 1.032 GB, free: 9.746 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.8542, allocations: 4 kB / 1.032 GB, free: 9.742 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.8542, allocations: 22.58 kB / 1.032 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.8543, allocations: 4 kB / 1.032 GB, free: 9.707 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8543, allocations: 3.938 kB / 1.032 GB, free: 9.703 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002405/0.8546, allocations: 57.53 kB / 1.032 GB, free: 9.641 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8546, allocations: 8 kB / 1.032 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8547, allocations: 4.094 kB / 1.032 GB, free: 9.629 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.8547, allocations: 3.938 kB / 1.032 GB, free: 9.625 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8548, allocations: 4 kB / 1.032 GB, free: 9.621 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8549, allocations: 4 kB / 1.032 GB, free: 9.617 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.855, allocations: 7.906 kB / 1.032 GB, free: 9.609 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.855, allocations: 8 kB / 1.032 GB, free: 9.602 MB / 0.6824 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.0001892/0.8552, allocations: 197 kB / 1.032 GB, free: 9.398 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.8553, allocations: 112.9 kB / 1.032 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.772e-05/0.8554, allocations: 120.8 kB / 1.032 GB, free: 9.152 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.526e-05/0.8556, allocations: 180.2 kB / 1.032 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.735e-05/0.8557, allocations: 176.3 kB / 1.033 GB, free: 8.789 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/0.8558, allocations: 188.2 kB / 1.033 GB, free: 8.598 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.8563, allocations: 425.2 kB / 1.033 GB, free: 8.125 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-05/0.8564, allocations: 105 kB / 1.033 GB, free: 8.016 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.8564, allocations: 108.9 kB / 1.033 GB, free: 7.902 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-05/0.8565, allocations: 176.3 kB / 1.034 GB, free: 7.723 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.8567, allocations: 184.1 kB / 1.034 GB, free: 7.535 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.577e-05/0.8568, allocations: 180.2 kB / 1.034 GB, free: 7.352 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.632e-05/0.8569, allocations: 188.1 kB / 1.034 GB, free: 7.16 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.8571, allocations: 307.7 kB / 1.034 GB, free: 6.836 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.8573, allocations: 197.9 kB / 1.035 GB, free: 6.617 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.8574, allocations: 180.2 kB / 1.035 GB, free: 6.434 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.8577, allocations: 104.9 kB / 1.035 GB, free: 6.324 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8578, allocations: 184.3 kB / 1.035 GB, free: 6.137 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.8579, allocations: 105 kB / 1.035 GB, free: 6.027 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.000233/0.8581, allocations: 123.2 kB / 1.035 GB, free: 5.906 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8582, allocations: 0 / 1.035 GB, free: 5.906 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0006143/0.8588, allocations: 8 kB / 1.035 GB, free: 5.898 MB / 0.6824 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.0002345/0.859, allocations: 175.5 kB / 1.035 GB, free: 5.719 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.8592, allocations: 16 kB / 1.035 GB, free: 5.703 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8592, allocations: 0 / 1.035 GB, free: 5.703 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.8592, allocations: 0 / 1.035 GB, free: 5.703 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.86, allocations: 0.5185 MB / 1.036 GB, free: 5.18 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.8608, allocations: 250.1 kB / 1.036 GB, free: 4.906 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.8613, allocations: 0.6926 MB / 1.037 GB, free: 4.188 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.067e-05/0.8613, allocations: 7.984 kB / 1.037 GB, free: 4.18 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.8614, allocations: 11.44 kB / 1.037 GB, free: 4.168 MB / 0.6824 GB Notification: Performance of SimCode: time 1.463e-06/0.8614, allocations: 0 / 1.037 GB, free: 4.168 MB / 0.6824 GB Notification: Performance of Templates: time 0.004633/0.8661, allocations: 404.3 kB / 1.037 GB, free: 3.773 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)