Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.008/2.008, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 185.3 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 0.7948 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 114.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 56.16 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2402, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00266/0.2429, allocations: 1.589 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.243, allocations: 27.88 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.2431, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2432, allocations: 7.922 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.2432, allocations: 3.984 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.2434, allocations: 27.97 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.2434, allocations: 43.8 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2436, allocations: 35.97 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.2436, allocations: 19.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.2437, allocations: 23.91 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2437, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.2437, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.2438, allocations: 15.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.2438, allocations: 31.8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.115e-05/0.2439, allocations: 49.92 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2439, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2439, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2439, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 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.0003373/0.2443, allocations: 363.3 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2443, allocations: 11.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.2443, allocations: 12.78 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2445, allocations: 184.2 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2445, allocations: 8.359 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2445, allocations: 12.38 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2447, allocations: 96.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.2447, allocations: 4.188 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2447, allocations: 7.938 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2447, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.2448, allocations: 43.91 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.2452, allocations: 0.644 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.2453, allocations: 173.1 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.2453, allocations: 88.14 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2453, allocations: 75.28 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2454, allocations: 105.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.2454, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.733e-05/0.2455, allocations: 37.55 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2455, allocations: 130.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2456, allocations: 172.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.2456, allocations: 25.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.2457, allocations: 103.9 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.2457, allocations: 3.938 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.2457, allocations: 21.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.2458, allocations: 318.8 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.2458, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.2458, allocations: 30.56 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.2459, allocations: 26.58 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2459, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001028/0.246, allocations: 57.48 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.246, allocations: 9.234 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.246, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.246, allocations: 8.031 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.2461, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2461, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.2461, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.2461, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 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 6.317e-05/0.2462, allocations: 193.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.2463, allocations: 112.9 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.2463, allocations: 120.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.2463, allocations: 180.3 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-05/0.2464, allocations: 184.2 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.2464, allocations: 177.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2465, allocations: 421.2 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.2465, allocations: 112.8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.2466, allocations: 105 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/0.2466, allocations: 184.2 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.2466, allocations: 184.2 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.734e-05/0.2467, allocations: 180.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-05/0.2467, allocations: 180.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2469, allocations: 0.8686 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.247, allocations: 193.9 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.247, allocations: 184.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.2471, allocations: 108.9 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.2471, allocations: 180.3 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2471, allocations: 105.1 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.2472, allocations: 125.3 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2472, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003107/0.2475, allocations: 8 kB / 1.227 GB, free: 108 MB / 0.823 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.000105/0.2476, allocations: 178.5 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.2477, allocations: 12 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2477, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2477, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.248, allocations: 0.5392 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.2483, allocations: 245.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2484, allocations: 0.6887 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.2484, allocations: 7.984 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.2484, allocations: 11.44 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2484, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of Templates: time 0.001992/0.2504, allocations: 424.5 kB / 1.229 GB, free: 105.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)