Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.4 MB / 303.3 MB, free: 8.219 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.001035/0.001035, allocations: 177.6 kB / 372 MB, free: 10.28 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.725/1.725, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 94.83 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005378, allocations: 10.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2709, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00165/0.2726, allocations: 1.184 MB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.274, allocations: 0.7305 MB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.274, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.2741, allocations: 3.938 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.2741, allocations: 3.938 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.2747, allocations: 95.77 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.2748, allocations: 71.75 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.2749, allocations: 8 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.275, allocations: 31.92 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.2751, allocations: 39.81 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2751, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2753, allocations: 87.84 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2753, allocations: 11.98 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.2754, allocations: 41.64 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2755, allocations: 100 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2755, allocations: 0 / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2755, allocations: 0 / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.2755, allocations: 0 / 0.982 GB, free: 25.17 MB / 0.6198 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.0006429/0.2762, allocations: 412.8 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.2763, allocations: 8.031 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.2763, allocations: 34.56 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2764, allocations: 7.906 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2765, allocations: 171 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.2765, allocations: 7.984 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2765, allocations: 8 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.2767, allocations: 69.59 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2768, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2768, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2768, allocations: 4 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2769, allocations: 43.97 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.2776, allocations: 324.7 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2777, allocations: 54.55 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.2778, allocations: 40.91 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2778, allocations: 0 / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.278, allocations: 79.38 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.278, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004012/0.2785, allocations: 153.5 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.2785, allocations: 55.34 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.2786, allocations: 125.8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2786, allocations: 25.7 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.2787, allocations: 100.2 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.2787, allocations: 15.88 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.2787, allocations: 4 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.2788, allocations: 318.8 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.2789, allocations: 31.92 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.279, allocations: 51 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.2791, allocations: 35.98 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2791, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001983/0.2793, allocations: 117.5 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2793, allocations: 4 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2793, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2794, allocations: 4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.2795, allocations: 19.92 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2795, allocations: 3.953 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.2795, allocations: 8.062 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2796, allocations: 11.98 kB / 0.9842 GB, free: 22.62 MB / 0.6198 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 6.75e-05/0.2796, allocations: 121.8 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.2797, allocations: 3.906 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.2797, allocations: 12.38 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2797, allocations: 0 / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2797, allocations: 0 / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2797, allocations: 3.953 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.28, allocations: 390.9 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2801, allocations: 0 / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.2801, allocations: 7.984 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2801, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2801, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2801, allocations: 7.953 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2801, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2804, allocations: 219.4 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.2804, allocations: 85.02 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2804, allocations: 4 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.2805, allocations: 4 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2806, allocations: 15.94 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2806, allocations: 3.938 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.2806, allocations: 99.42 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2806, allocations: 0 / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002542/0.2809, allocations: 39.98 kB / 0.9852 GB, free: 21.53 MB / 0.6198 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.0007486/0.2816, allocations: 0.7996 MB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.2819, allocations: 83.95 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2819, allocations: 0 / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.282, allocations: 35.92 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2823, allocations: 18.8 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.2832, allocations: 0.6089 MB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2834, allocations: 0.6848 MB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.2834, allocations: 8.172 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2835, allocations: 19.44 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2835, allocations: 0 / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.296, allocations: 2.356 MB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.2963, allocations: 257.5 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.935, allocations: 2.953 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)