Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.124/5.124, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002478/0.002478, allocations: 357.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.267/4.267, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001876/0.001876, allocations: 182.8 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005366, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7334, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.9316, allocations: 139.9 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.9319, allocations: 89.31 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.9446, allocations: 2.996 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9446, allocations: 0.8125 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9447, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005518/0.9452, allocations: 427.3 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9453, allocations: 11.62 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.9453, allocations: 4 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.9454, allocations: 182.8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.9455, allocations: 0.5625 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.9455, allocations: 4.719 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.9457, allocations: 70.69 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.9458, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.9458, allocations: 4.938 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9458, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.946, allocations: 45.77 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.9467, allocations: 327.5 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.9469, allocations: 52.31 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.9471, allocations: 34.25 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.9471, allocations: 5.234 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.9473, allocations: 76.05 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.9473, allocations: 5.156 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005518/0.9479, allocations: 151.3 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.948, allocations: 64.42 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.9481, allocations: 113.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.9481, allocations: 35.62 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.9481, allocations: 88.23 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.9482, allocations: 15.81 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.9482, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.9483, allocations: 323.3 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.9484, allocations: 28.64 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.9486, allocations: 52.52 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.9487, allocations: 30.19 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9487, allocations: 3.938 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003456/0.9491, allocations: 118.9 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9491, allocations: 5.156 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9491, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9492, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9493, allocations: 18.83 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9493, allocations: 7.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.9494, allocations: 11.89 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.9495, allocations: 8.391 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.942e-05/0.9496, allocations: 120.1 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.9496, allocations: 4 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.9496, allocations: 9.594 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9497, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9497, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9497, allocations: 13 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.9502, allocations: 380.4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9503, allocations: 3.984 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.9503, allocations: 4.969 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9504, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.9504, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9504, allocations: 4.547 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9504, allocations: 1.812 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.9508, allocations: 224.4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.9508, allocations: 85.48 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.9509, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.951, allocations: 13.61 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.9511, allocations: 11.95 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.9511, allocations: 7.984 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.9512, allocations: 90.69 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9512, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004217/0.9516, allocations: 52.55 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004248/0.952, allocations: 165.1 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.9524, allocations: 83.42 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9524, allocations: 0 / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.9526, allocations: 35.92 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.9529, allocations: 8 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.9534, allocations: 209.1 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.9536, allocations: 0.6941 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.9537, allocations: 4.781 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.9537, allocations: 11.44 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.9537, allocations: 0.625 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005475/0.9592, allocations: 1.529 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB