Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009171/0.0009173, allocations: 178.3 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007132/0.0007132, allocations: 88.98 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12.02 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2395, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001487/0.241, allocations: 1.219 MB / 0.8974 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2422, allocations: 0.7921 MB / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.2422, allocations: 0 / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2423, allocations: 0 / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.2423, allocations: 11.86 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.2428, allocations: 103.8 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.2429, allocations: 67.78 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.243, allocations: 23.97 kB / 0.8984 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.243, allocations: 23.92 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.2431, allocations: 35.84 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2431, allocations: 7.984 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.2434, allocations: 83.86 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.2434, allocations: 15.97 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.2434, allocations: 31.8 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2436, allocations: 131.7 kB / 0.8987 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2437, allocations: 4 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2437, allocations: 4 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2437, allocations: 0 / 0.8987 GB, free: 65.55 MB / 0.6042 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.0005578/0.2442, allocations: 405.1 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2443, allocations: 8.031 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.2443, allocations: 34.69 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.2444, allocations: 8.844 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.2445, allocations: 180.3 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.2445, allocations: 8.375 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2445, allocations: 4.375 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2447, allocations: 73.78 kB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2447, allocations: 0 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2447, allocations: 0 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2447, allocations: 4 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2449, allocations: 47.91 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.2454, allocations: 320.6 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2455, allocations: 54.56 kB / 0.8998 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.2456, allocations: 36.95 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2456, allocations: 0 / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.2458, allocations: 79.31 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2458, allocations: 8 kB / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003644/0.2462, allocations: 145.7 kB / 0.9 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2462, allocations: 55.41 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.2463, allocations: 129.7 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2463, allocations: 29.7 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.2464, allocations: 92.14 kB / 0.9003 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2464, allocations: 15.75 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2464, allocations: 21.7 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.2465, allocations: 322.8 kB / 0.9007 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.2466, allocations: 27.97 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.2467, allocations: 54.5 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.2468, allocations: 74.55 kB / 0.9008 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2468, allocations: 0 / 0.9008 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001997/0.247, allocations: 129.5 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.247, allocations: 4 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.247, allocations: 0 / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2471, allocations: 4 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.2472, allocations: 15.92 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2472, allocations: 0 / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.2473, allocations: 20 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2473, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 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 7.885e-05/0.2474, allocations: 121.8 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2474, allocations: 3.906 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.2474, allocations: 16.36 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.2474, allocations: 0 / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2474, allocations: 4 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2474, allocations: 0 / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.2478, allocations: 390.4 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2478, allocations: 0 / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.2479, allocations: 4 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2479, allocations: 3.938 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2479, allocations: 3.984 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2479, allocations: 7.938 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2479, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.2481, allocations: 219.4 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.2482, allocations: 81.02 kB / 0.9018 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2482, allocations: 7.969 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.2483, allocations: 11.94 kB / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.2483, allocations: 11.98 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.2483, allocations: 4 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.2484, allocations: 91.27 kB / 0.9019 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2484, allocations: 0 / 0.9019 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002642/0.2486, allocations: 36 kB / 0.902 GB, free: 61.83 MB / 0.6042 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.0005962/0.2493, allocations: 0.8173 MB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2495, allocations: 84 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2495, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.2496, allocations: 39.92 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.2498, allocations: 11.94 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.251, allocations: 1.503 MB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2511, allocations: 0.6925 MB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.2512, allocations: 4 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.2512, allocations: 23.42 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2513, allocations: 0 / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2629, allocations: 2.344 MB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.2631, allocations: 282.7 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.981, allocations: 0 / 0.9076 GB, free: 56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)