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.001109/0.00111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001176/0.001176, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.467/1.467, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.709/1.709, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.002034/0.002034, allocations: 69.75 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2699, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003376/0.2733, allocations: 1.541 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2748, allocations: 0.7605 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.2749, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.2749, allocations: 11.92 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.275, allocations: 7.922 kB / 0.7851 GB, free: 11.55 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.0006201/0.2756, allocations: 110.4 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2758, allocations: 79.77 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.2759, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.276, allocations: 35.86 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.2761, allocations: 47.88 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.2761, allocations: 4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.2764, allocations: 95.84 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.2764, allocations: 19.92 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.2765, allocations: 35.84 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.2767, allocations: 135.9 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2767, allocations: 4 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2767, allocations: 3.938 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2767, allocations: 0 / 0.7857 GB, free: 10.99 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.0007157/0.2775, allocations: 421 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2775, allocations: 8.031 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.2776, allocations: 8.844 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2777, allocations: 176.2 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2778, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.2778, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.278, allocations: 73.91 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.278, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.2781, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2781, allocations: 7.984 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2782, allocations: 31.98 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.2789, allocations: 320.8 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.279, allocations: 50.5 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.2791, allocations: 32.97 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2792, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2794, allocations: 79.28 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2794, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004757/0.2799, allocations: 137.6 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2799, allocations: 59.41 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.28, allocations: 125.7 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.2801, allocations: 29.7 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2801, allocations: 92.2 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2801, allocations: 19.73 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.2802, allocations: 25.7 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2803, allocations: 322.8 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.2804, allocations: 31.98 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.2805, allocations: 46.98 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2806, allocations: 78.42 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2806, allocations: 0 / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.2809, allocations: 113.5 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2809, allocations: 7.984 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2809, allocations: 0 / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2809, allocations: 4 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.281, allocations: 8 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.281, allocations: 0 / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.2811, allocations: 7.984 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2811, allocations: 4 kB / 0.7879 GB, free: 8.453 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.701e-05/0.2812, allocations: 134.1 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2812, allocations: 7.906 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.2813, allocations: 8.359 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2813, allocations: 7.938 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2813, allocations: 0 / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2813, allocations: 3.984 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.2818, allocations: 382.4 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2818, allocations: 8 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.2819, allocations: 7.938 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2819, allocations: 0 / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2819, allocations: 3.984 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2819, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2819, allocations: 7.938 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.2822, allocations: 203.4 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2823, allocations: 89.02 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.2823, allocations: 3.984 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2825, allocations: 4 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2825, allocations: 3.938 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2826, allocations: 11.98 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.2826, allocations: 95.42 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2826, allocations: 0 / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004224/0.2831, allocations: 36 kB / 0.7889 GB, free: 7.359 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.0004396/0.2835, allocations: 159.6 kB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.2839, allocations: 83.86 kB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2839, allocations: 0 / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2841, allocations: 31.98 kB / 0.7891 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2845, allocations: 16.11 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.285, allocations: 196.8 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2853, allocations: 0.6885 MB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.2854, allocations: 8 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2854, allocations: 11.44 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2854, allocations: 0 / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.003783/0.2892, allocations: 1.4 MB / 0.7914 GB, free: 4.727 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)