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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001581/0.00158, allocations: 197 kB / 16.14 MB, free: 6.652 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.462/1.462, allocations: 205.1 MB / 222 MB, free: 4.77 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.716/1.716, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001343/0.001343, allocations: 68.08 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2549, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002822/0.2578, allocations: 1.539 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2592, allocations: 0.7722 MB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.2592, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.2593, allocations: 7.922 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.2594, allocations: 11.92 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.2599, allocations: 103.8 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.26, allocations: 63.84 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.2601, allocations: 11.98 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.2602, allocations: 43.78 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.2602, allocations: 35.89 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.2603, allocations: 4 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.2605, allocations: 87.91 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.2605, allocations: 15.92 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2606, allocations: 31.84 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2608, allocations: 139.8 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2608, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2608, allocations: 4 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2608, allocations: 0 / 0.7855 GB, free: 11.11 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.0006436/0.2615, allocations: 413 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2615, allocations: 12.03 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.2616, allocations: 8.844 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2617, allocations: 180.2 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2617, allocations: 384 / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.2617, allocations: 8.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2619, allocations: 69.97 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2619, allocations: 4 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.262, allocations: 3.984 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.262, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2621, allocations: 39.91 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.2627, allocations: 316.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.2628, allocations: 50.55 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.2629, allocations: 32.97 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2629, allocations: 0 / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.2632, allocations: 87.22 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2632, allocations: 3.938 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003831/0.2636, allocations: 137.7 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2636, allocations: 55.41 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.2637, allocations: 125.7 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2637, allocations: 25.7 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.2638, allocations: 92.14 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2638, allocations: 15.73 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.2639, allocations: 25.72 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.264, allocations: 334.7 kB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.2641, allocations: 23.98 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.2641, allocations: 50.55 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.2643, allocations: 74.5 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2643, allocations: 0 / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002145/0.2645, allocations: 109.5 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2646, allocations: 4 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2646, allocations: 3.938 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2646, allocations: 4 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.2647, allocations: 11.98 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2647, allocations: 400 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.2648, allocations: 16.05 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.2648, allocations: 4 kB / 0.7877 GB, free: 8.566 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.597e-05/0.2649, allocations: 120.9 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2649, allocations: 7.906 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.265, allocations: 8.375 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.265, allocations: 0 / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.265, allocations: 4 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.265, allocations: 7.922 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.2654, allocations: 394.4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2654, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.2655, allocations: 4 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2655, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2655, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2655, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2655, allocations: 3.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.2658, allocations: 219.3 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.2658, allocations: 81.02 kB / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2659, allocations: 8 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.266, allocations: 3.984 kB / 0.7885 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.266, allocations: 7.938 kB / 0.7885 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.266, allocations: 7.984 kB / 0.7885 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.2661, allocations: 87.94 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2661, allocations: 0 / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003036/0.2664, allocations: 51.86 kB / 0.7887 GB, free: 7.473 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.0003648/0.2668, allocations: 158.6 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.267, allocations: 71.89 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.267, allocations: 128 / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2672, allocations: 43.92 kB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2674, allocations: 4 kB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.2679, allocations: 198.7 kB / 0.7891 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2682, allocations: 0.6926 MB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.2683, allocations: 0 / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.2683, allocations: 11.44 kB / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2683, allocations: 0 / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.004465/0.2728, allocations: 1.382 MB / 0.7912 GB, free: 4.883 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)