Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.769/1.769, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.001634/0.001634, allocations: 179.4 kB / 372 MB, free: 10.29 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.891/1.891, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008549/0.0008549, allocations: 86.41 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004846, allocations: 11.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001758/0.2531, allocations: 1.176 MB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2544, allocations: 0.7188 MB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2545, allocations: 4 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.2545, allocations: 3.938 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.2546, allocations: 15.91 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.2552, allocations: 91.77 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2553, allocations: 67.78 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2554, allocations: 7.984 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.2555, allocations: 35.91 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.2556, allocations: 35.84 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.2556, allocations: 4 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.2558, allocations: 83.84 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.2559, allocations: 11.98 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.2559, allocations: 33.64 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2561, allocations: 108 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2561, allocations: 0 / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2562, allocations: 0 / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.2562, allocations: 0 / 0.982 GB, free: 25.18 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.0006115/0.2568, allocations: 408.8 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.2568, allocations: 8.031 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.2569, allocations: 38.56 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.2569, allocations: 7.906 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.257, allocations: 175 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.2571, allocations: 0 / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2571, allocations: 4 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2573, allocations: 77.64 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2573, allocations: 7.938 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2573, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2573, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2575, allocations: 39.97 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.258, allocations: 324.7 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2582, allocations: 54.48 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.2583, allocations: 36.97 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2583, allocations: 3.938 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.2585, allocations: 83.38 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2585, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004118/0.2589, allocations: 149.6 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.259, allocations: 55.41 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.259, allocations: 121.8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2591, allocations: 29.7 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.2591, allocations: 92.2 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2591, allocations: 19.75 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.2591, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2592, allocations: 326.8 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.2593, allocations: 27.98 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.2594, allocations: 54.97 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.2595, allocations: 35.98 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2595, allocations: 0 / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.2597, allocations: 117.5 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2597, allocations: 13.86 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2598, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2598, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.2599, allocations: 12.06 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2599, allocations: 11.89 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.26, allocations: 7.984 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.26, allocations: 8 kB / 0.9842 GB, free: 22.63 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 9.171e-05/0.2601, allocations: 120.6 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.2601, allocations: 7.906 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.2602, allocations: 12.36 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2602, allocations: 8 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2602, allocations: 0 / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2602, allocations: 3.953 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.2606, allocations: 378.9 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2606, allocations: 4 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.2607, allocations: 4 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.2607, allocations: 8 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2607, allocations: 3.984 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2607, allocations: 3.953 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2607, allocations: 0 / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.261, allocations: 215.4 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.261, allocations: 85.02 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.261, allocations: 11.88 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.2611, allocations: 7.984 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2612, allocations: 11.89 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2612, allocations: 7.984 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.2612, allocations: 95.42 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2612, allocations: 0 / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002831/0.2615, allocations: 36 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.0007195/0.2622, allocations: 0.7962 MB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.2625, allocations: 75.91 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2625, allocations: 0 / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2627, allocations: 47.89 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2629, allocations: 12.08 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.2639, allocations: 0.6086 MB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.264, allocations: 0.6896 MB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.264, allocations: 8.172 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2641, allocations: 24.12 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2641, allocations: 3.938 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.2789, allocations: 2.364 MB / 0.9897 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.2792, allocations: 263.6 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.026, allocations: 0 / 0.99 GB, free: 16.67 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)