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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001148, allocations: 191.7 kB / 16.13 MB, free: 6.711 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.444/2.444, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.59 kB / 0.9114 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002364/0.2467, allocations: 1.605 MB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.229e-05/0.2468, allocations: 27.92 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.2468, allocations: 7.938 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.2469, allocations: 3.938 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.247, allocations: 7.969 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.551e-05/0.247, allocations: 15.98 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.2471, allocations: 51.78 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2472, allocations: 27.98 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2473, allocations: 19.94 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.2473, allocations: 27.84 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2474, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.2474, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.2474, allocations: 15.98 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.2475, allocations: 23.81 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.746e-05/0.2475, allocations: 60.02 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2476, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2476, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2476, allocations: 0 / 1.069 GB, free: 9.031 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.0003272/0.2479, allocations: 363.3 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2479, allocations: 12.03 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.248, allocations: 12.78 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2481, allocations: 180.3 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2481, allocations: 8.312 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2482, allocations: 4.375 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2483, allocations: 106.5 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2483, allocations: 192 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2483, allocations: 3.938 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2483, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.2484, allocations: 47.84 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.2489, allocations: 0.644 MB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.249, allocations: 169.1 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.249, allocations: 84.08 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.2491, allocations: 79.28 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2491, allocations: 109.8 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2491, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.155e-05/0.2492, allocations: 41.53 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.2493, allocations: 126.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2494, allocations: 173.2 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.2494, allocations: 29.7 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.2495, allocations: 100 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.2495, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.2495, allocations: 21.62 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2496, allocations: 318.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.2497, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.2497, allocations: 30.5 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.2497, allocations: 22.58 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2497, allocations: 4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.82e-05/0.2498, allocations: 57.62 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.2498, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2499, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.2499, allocations: 3.938 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.2499, allocations: 16.03 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2499, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.25, allocations: 11.78 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.25, allocations: 4 kB / 1.072 GB, free: 6.016 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 8.56e-05/0.2501, allocations: 193.1 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.2501, allocations: 108.9 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.2502, allocations: 120.5 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.2502, allocations: 188.2 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-05/0.2503, allocations: 184.2 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/0.2503, allocations: 176.3 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2506, allocations: 425.2 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/0.2506, allocations: 105.1 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.2506, allocations: 113 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.157e-05/0.2507, allocations: 180.2 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.2507, allocations: 180.2 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.223e-05/0.2508, allocations: 184.2 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.163e-05/0.2509, allocations: 188.2 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.251, allocations: 307.7 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.2511, allocations: 194 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.2511, allocations: 184.1 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.2512, allocations: 104.9 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.2513, allocations: 180.3 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2513, allocations: 116.9 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.774e-05/0.2514, allocations: 125.5 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2514, allocations: 0 / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002032/0.2516, allocations: 4 kB / 1.075 GB, free: 2.305 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 0.0001037/0.2517, allocations: 174.5 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.012e-05/0.2518, allocations: 8 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2518, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.2518, allocations: 8.125 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2521, allocations: 0.5224 MB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.2524, allocations: 247.1 kB / 1.076 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2527, allocations: 0.6926 MB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.2527, allocations: 4 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.2527, allocations: 11.44 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2527, allocations: 0 / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of Templates: time 0.001828/0.2545, allocations: 412.6 kB / 1.077 GB, free: 180 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)