Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 199.6 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.439/2.439, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.48 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002556/0.2606, allocations: 1.589 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.5e-05/0.2607, allocations: 35.84 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.2608, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.618e-05/0.2609, allocations: 11.92 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.2609, allocations: 3.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.78e-05/0.261, allocations: 15.98 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.852e-05/0.2611, allocations: 51.78 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.2612, allocations: 35.97 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.2612, allocations: 19.92 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.2612, allocations: 27.86 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2613, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.2613, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.2613, allocations: 15.98 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2613, allocations: 31.8 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.2614, allocations: 56.03 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2614, allocations: 4 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2614, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2615, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 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.0003041/0.2618, allocations: 363.3 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2618, allocations: 12.03 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2618, allocations: 16.72 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.262, allocations: 184.3 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.262, allocations: 4.312 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.262, allocations: 8.375 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2621, allocations: 102.4 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2622, allocations: 192 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2622, allocations: 7.922 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2622, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.2622, allocations: 35.98 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.2627, allocations: 0.644 MB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.2628, allocations: 169.1 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.2628, allocations: 84.14 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2628, allocations: 83.27 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2629, allocations: 109.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2629, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.859e-05/0.2629, allocations: 41.48 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.263, allocations: 126.7 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2631, allocations: 173 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2631, allocations: 25.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.2632, allocations: 108 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.2632, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.2632, allocations: 21.62 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.2633, allocations: 318.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.2634, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.2634, allocations: 22.58 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.2634, allocations: 26.52 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2634, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.295e-05/0.2635, allocations: 61.62 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2635, allocations: 7.938 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2635, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.2636, allocations: 3.938 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.2636, allocations: 8.094 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2636, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.2637, allocations: 11.78 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2637, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.2637, allocations: 193.1 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.2638, allocations: 112.8 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.2639, allocations: 120.6 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.2639, allocations: 188.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.591e-05/0.264, allocations: 176.3 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/0.264, allocations: 180.3 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2642, allocations: 429.2 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.2642, allocations: 101.1 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2643, allocations: 112.9 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/0.2643, allocations: 180.3 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.2644, allocations: 188.2 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.576e-05/0.2644, allocations: 180.2 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.142e-05/0.2645, allocations: 180.3 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.2646, allocations: 311.7 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.2646, allocations: 190 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.2647, allocations: 184.1 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.2648, allocations: 101 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.2648, allocations: 192.3 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.2649, allocations: 109 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.265, allocations: 123.2 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.265, allocations: 0 / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.2652, allocations: 4 kB / 1.076 GB, free: 2.176 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.371e-05/0.2653, allocations: 174.5 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.2653, allocations: 11.94 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2653, allocations: 0 / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2653, allocations: 4.188 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2657, allocations: 463.7 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.2659, allocations: 249.3 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2661, allocations: 0.6885 MB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.2662, allocations: 7.938 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.2662, allocations: 11.44 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 0 / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of Templates: time 0.001843/0.268, allocations: 434.1 kB / 1.078 GB, free: 100 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)