Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.866/2.866, allocations: 287.3 MB / 302.3 MB, free: 8.211 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.001617/0.001617, allocations: 187.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00111/0.00111, allocations: 93.16 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 14.22 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2208, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00174/0.2226, allocations: 1.175 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2241, allocations: 0.727 MB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.2242, allocations: 0 / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.2242, allocations: 3.938 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.2243, allocations: 7.984 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.2249, allocations: 95.67 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.225, allocations: 43.95 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.2251, allocations: 11.98 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.2252, allocations: 31.91 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.2253, allocations: 35.84 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2254, allocations: 4 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2256, allocations: 67.86 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.2256, allocations: 15.92 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2256, allocations: 33.7 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.2258, allocations: 104 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2259, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2259, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2259, allocations: 7.938 kB / 0.9806 GB, free: 25.92 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.0006242/0.2265, allocations: 403.1 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2266, allocations: 12.03 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.2267, allocations: 34.56 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.2267, allocations: 11.86 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2268, allocations: 174.9 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2269, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2269, allocations: 15.94 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.2272, allocations: 65.66 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2272, allocations: 0 / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2272, allocations: 4 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2272, allocations: 0 / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2274, allocations: 39.97 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.2282, allocations: 332.6 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2284, allocations: 54.55 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2285, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.2287, allocations: 75.5 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.2287, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005813/0.2293, allocations: 157.4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2294, allocations: 55.47 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.2295, allocations: 121.8 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2295, allocations: 25.7 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.2296, allocations: 96.27 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2296, allocations: 11.81 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-06/0.2296, allocations: 4 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.2297, allocations: 322.8 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.2298, allocations: 27.98 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.23, allocations: 50.55 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2302, allocations: 35.94 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2302, allocations: 4 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003629/0.2305, allocations: 113.5 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2306, allocations: 4 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2306, allocations: 0 / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.2307, allocations: 4 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2308, allocations: 23.94 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2308, allocations: 400 / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.231, allocations: 15.98 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.231, allocations: 0 / 0.9828 GB, free: 23.43 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 0.0001015/0.2311, allocations: 129.7 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2311, allocations: 3.906 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2312, allocations: 12.38 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2312, allocations: 0 / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2312, allocations: 15.88 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2312, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.2318, allocations: 386.5 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2318, allocations: 4 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.2319, allocations: 4 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2319, allocations: 0 / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.232, allocations: 7.953 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.232, allocations: 3.938 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.232, allocations: 4 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.2324, allocations: 211.4 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.2324, allocations: 85.02 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.2324, allocations: 8 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2326, allocations: 11.94 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2326, allocations: 4 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2327, allocations: 3.984 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2327, allocations: 95.92 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2327, allocations: 0 / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004182/0.2332, allocations: 36 kB / 0.9838 GB, free: 22.32 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.0008783/0.234, allocations: 0.8102 MB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2344, allocations: 75.91 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2344, allocations: 0 / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2346, allocations: 39.97 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.2349, allocations: 11.95 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.2357, allocations: 0.7304 MB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2358, allocations: 0.6887 MB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.2359, allocations: 8.172 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.236, allocations: 19.44 kB / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/0.236, allocations: 0 / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.2565, allocations: 2.329 MB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.2568, allocations: 250.5 kB / 0.9886 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/2.784, allocations: 7.594 kB / 0.9886 GB, free: 17.36 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)