Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009734/0.0009733, allocations: 176.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.2 MB / 0.626 GB, free: 7.125 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007639/0.0007638, allocations: 80.25 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.606e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5433, allocations: 116.3 MB / 0.9732 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.71, allocations: 140.2 MB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.7104, allocations: 85.88 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.008963/0.7193, allocations: 2.954 MB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7194, allocations: 0 / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7194, allocations: 0 / 1.113 GB, free: 6.934 MB / 0.7136 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.0005133/0.7199, allocations: 425.2 kB / 1.114 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7199, allocations: 9.5 kB / 1.114 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.72, allocations: 7.906 kB / 1.114 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7201, allocations: 173.3 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7202, allocations: 0 / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.7202, allocations: 7 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.427e-05/0.7203, allocations: 20 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.7204, allocations: 57.67 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7204, allocations: 0 / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7204, allocations: 5.859 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.7204, allocations: 0 / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.721, allocations: 293.4 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.7211, allocations: 39.86 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.7211, allocations: 24.98 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.7212, allocations: 1.188 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.7213, allocations: 74.02 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7213, allocations: 0 / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002418/0.7215, allocations: 93.67 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.7216, allocations: 51.41 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.7217, allocations: 119.5 kB / 1.115 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.7217, allocations: 29.7 kB / 1.115 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.7218, allocations: 92.97 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7218, allocations: 16.38 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.7218, allocations: 4 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7219, allocations: 324.1 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.722, allocations: 16 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.722, allocations: 35.58 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.7221, allocations: 27.98 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7221, allocations: 0 / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001691/0.7223, allocations: 98.12 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7223, allocations: 9.094 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.7223, allocations: 0 / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7223, allocations: 0 / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.7224, allocations: 8 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7224, allocations: 7.984 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.7225, allocations: 8.062 kB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.7225, allocations: 4 kB / 1.115 GB, free: 4.703 MB / 0.7136 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 () * 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 7.605e-05/0.7226, allocations: 116.9 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.7226, allocations: 3.906 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.7227, allocations: 16.59 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7227, allocations: 0 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7227, allocations: 0 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7227, allocations: 0 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.723, allocations: 339.1 kB / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.723, allocations: 0 / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.7231, allocations: 18.42 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7231, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.7231, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7231, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7231, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.7233, allocations: 199.3 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.7234, allocations: 85.09 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7234, allocations: 0 / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.7235, allocations: 4 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.7235, allocations: 7.984 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.7236, allocations: 0.75 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.7236, allocations: 94 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7236, allocations: 0 / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002762/0.7239, allocations: 47.94 kB / 1.116 GB, free: 3.715 MB / 0.7136 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 () * 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.0003335/0.7242, allocations: 166.6 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.7244, allocations: 51.98 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7244, allocations: 4 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.7244, allocations: 32.06 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.7246, allocations: 7.938 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.7249, allocations: 96.45 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.7251, allocations: 0.6931 MB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.7252, allocations: 9.422 kB / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.7252, allocations: 11.44 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of SimCode: time 1.413e-06/0.7252, allocations: 4 kB / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of Templates: time 0.003781/0.729, allocations: 1.508 MB / 1.119 GB, free: 1.145 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)