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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001645/0.001645, allocations: 188.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5492 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 63.58 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2448, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002639/0.2475, allocations: 1.542 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2487, allocations: 0.7644 MB / 0.7858 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2488, allocations: 8 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.2488, allocations: 0 / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.2489, allocations: 11.86 kB / 0.7858 GB, free: 11.54 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0006004/0.2495, allocations: 107.8 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2497, allocations: 75.81 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.2498, allocations: 8 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.2499, allocations: 39.86 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.2499, allocations: 39.88 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.25, allocations: 4 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2501, allocations: 99.84 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2502, allocations: 15.92 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2502, allocations: 35.84 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2504, allocations: 96.06 kB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2504, allocations: 0 / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2504, allocations: 0 / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2504, allocations: 4 kB / 0.7863 GB, free: 11.03 MB / 0.6075 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.0005878/0.251, allocations: 420.9 kB / 0.7867 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2511, allocations: 12.03 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.2511, allocations: 8.844 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2512, allocations: 184.1 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2513, allocations: 4.375 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.2513, allocations: 4.375 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2515, allocations: 69.97 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2515, allocations: 3.938 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2515, allocations: 8 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2515, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2517, allocations: 35.97 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.2523, allocations: 312.7 kB / 0.7873 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.2524, allocations: 50.56 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.2525, allocations: 32.97 kB / 0.7874 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2525, allocations: 0 / 0.7874 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.2527, allocations: 79.28 kB / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2527, allocations: 0 / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000373/0.2531, allocations: 145.9 kB / 0.7876 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2531, allocations: 55.41 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.2532, allocations: 121.8 kB / 0.7878 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2533, allocations: 29.7 kB / 0.7878 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.2533, allocations: 92.12 kB / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2533, allocations: 15.75 kB / 0.7879 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.2534, allocations: 29.64 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2535, allocations: 330.8 kB / 0.7882 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.2536, allocations: 23.98 kB / 0.7883 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.2537, allocations: 46.56 kB / 0.7883 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2538, allocations: 78.55 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2538, allocations: 4 kB / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.2541, allocations: 121.5 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2541, allocations: 4 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2541, allocations: 0 / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2541, allocations: 4 kB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.2542, allocations: 15.98 kB / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2542, allocations: 3.938 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.2543, allocations: 4 kB / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2543, allocations: 8.062 kB / 0.7885 GB, free: 8.469 MB / 0.6075 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/0.2544, allocations: 122.4 kB / 0.7886 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.2545, allocations: 7.906 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.2545, allocations: 8.375 kB / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2545, allocations: 0 / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2545, allocations: 4 kB / 0.7887 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2545, allocations: 0 / 0.7887 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.2549, allocations: 390.3 kB / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2549, allocations: 0 / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.255, allocations: 7.984 kB / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.255, allocations: 0 / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.255, allocations: 0 / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.255, allocations: 0 / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.255, allocations: 7.875 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2553, allocations: 215.4 kB / 0.7893 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.2553, allocations: 84.95 kB / 0.7893 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2554, allocations: 7.938 kB / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.2555, allocations: 0 / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.2555, allocations: 11.92 kB / 0.7894 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.2555, allocations: 4 kB / 0.7894 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.2556, allocations: 99.86 kB / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2556, allocations: 0 / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002964/0.2559, allocations: 31.98 kB / 0.7895 GB, free: 7.387 MB / 0.6075 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 (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.0003211/0.2562, allocations: 157.3 kB / 0.7896 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2565, allocations: 80.12 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2565, allocations: 0 / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.2566, allocations: 40.09 kB / 0.7898 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2569, allocations: 8 kB / 0.7898 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.2573, allocations: 230.5 kB / 0.79 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2575, allocations: 0.6923 MB / 0.7907 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.2575, allocations: 15.42 kB / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2576, allocations: 0 / 0.7907 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.003198/0.2608, allocations: 1.613 MB / 0.7922 GB, free: 4.508 MB / 0.6075 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)