Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007381/0.0007382, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007402/0.007402, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.283/1.283, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005166/0.0005166, allocations: 12.56 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001638/0.2486, allocations: 1.219 MB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2498, allocations: 0.749 MB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.2499, allocations: 0 / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.2499, allocations: 3.938 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.738e-05/0.25, allocations: 7.938 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2504, allocations: 103.8 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.2505, allocations: 71.83 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.2506, allocations: 11.98 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.2507, allocations: 31.8 kB / 0.7901 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.675e-05/0.2508, allocations: 35.88 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2508, allocations: 4 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.251, allocations: 83.92 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.251, allocations: 23.91 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.2511, allocations: 53.56 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.2513, allocations: 143.8 kB / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.2513, allocations: 0 / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2513, allocations: 0 / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.2513, allocations: 0 / 0.7905 GB, free: 8.891 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.0005813/0.2519, allocations: 405 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2519, allocations: 12.03 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.252, allocations: 34.75 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.252, allocations: 8.844 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2522, allocations: 180.2 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.2522, allocations: 8.359 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2522, allocations: 4.375 kB / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2524, allocations: 77.72 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2524, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2524, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2525, allocations: 4 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2526, allocations: 47.97 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.2532, allocations: 316.7 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2533, allocations: 54.55 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.672e-05/0.2534, allocations: 36.91 kB / 0.7916 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2534, allocations: 4 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.2536, allocations: 79.38 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2536, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003924/0.254, allocations: 157.6 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2541, allocations: 55.41 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.2542, allocations: 125.7 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2542, allocations: 25.7 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2543, allocations: 104 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.2543, allocations: 7.906 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2543, allocations: 21.7 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2545, allocations: 318.8 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.2546, allocations: 31.98 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.2547, allocations: 54.55 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2548, allocations: 86.42 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2548, allocations: 0 / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.2551, allocations: 117.5 kB / 0.7927 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2551, allocations: 8 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2551, allocations: 3.984 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2551, allocations: 0 / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.2552, allocations: 12.06 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2552, allocations: 4 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.2553, allocations: 11.89 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2553, allocations: 4 kB / 0.7928 GB, free: 6.262 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.406e-05/0.2554, allocations: 130.3 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2554, allocations: 4 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.2555, allocations: 8.359 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2555, allocations: 4 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2555, allocations: 8 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2555, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.256, allocations: 386.4 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.256, allocations: 0 / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.256, allocations: 8 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.256, allocations: 0 / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2561, allocations: 4 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2561, allocations: 11.86 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2561, allocations: 0 / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.2564, allocations: 211.4 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.2564, allocations: 81.11 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2564, allocations: 4 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.2565, allocations: 15.86 kB / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2566, allocations: 4 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.2566, allocations: 3.984 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.451e-05/0.2567, allocations: 99.27 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2567, allocations: 0 / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000304/0.257, allocations: 39.94 kB / 0.7938 GB, free: 5.16 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.000763/0.2577, allocations: 0.8069 MB / 0.7945 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.258, allocations: 83.89 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.258, allocations: 0 / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.2581, allocations: 39.97 kB / 0.7947 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2584, allocations: 7.875 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2599, allocations: 1.531 MB / 0.7962 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2601, allocations: 0.6926 MB / 0.7968 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.2602, allocations: 4 kB / 0.7968 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2602, allocations: 27.42 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2602, allocations: 0 / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.2724, allocations: 2.334 MB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.2726, allocations: 271.4 kB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.05, allocations: 0 / 0.7994 GB, free: 15.33 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)