Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.833/2.833, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001383/0.001383, allocations: 181.6 kB / 371 MB, free: 10.88 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.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.000915/0.0009145, allocations: 89.48 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.000501, allocations: 11.31 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001963/0.2462, allocations: 1.179 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2477, allocations: 0.719 MB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.2478, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.2479, allocations: 3.938 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.248, allocations: 7.938 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.2485, allocations: 91.77 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2487, allocations: 75.75 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.2488, allocations: 4 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2489, allocations: 39.84 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.249, allocations: 39.83 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.249, allocations: 0 / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.2493, allocations: 91.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.2493, allocations: 7.984 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.2494, allocations: 37.64 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.2496, allocations: 104 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2496, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2496, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2496, allocations: 0 / 0.9808 GB, free: 25.88 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.0006776/0.2503, allocations: 408.8 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2504, allocations: 12.03 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2504, allocations: 34.56 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.2505, allocations: 19.84 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2506, allocations: 167 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.2506, allocations: 7.984 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2507, allocations: 4 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.2509, allocations: 69.66 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2509, allocations: 3.938 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.251, allocations: 4 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.251, allocations: 0 / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.2512, allocations: 43.97 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.252, allocations: 324.7 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2522, allocations: 46.56 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.2523, allocations: 36.97 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2524, allocations: 3.938 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.2526, allocations: 87.36 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.2526, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000563/0.2532, allocations: 149.5 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2533, allocations: 55.41 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.2534, allocations: 121.8 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2534, allocations: 25.7 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2535, allocations: 104.2 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2535, allocations: 11.81 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.2535, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.2536, allocations: 318.8 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2537, allocations: 31.98 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.2539, allocations: 54.88 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.254, allocations: 31.98 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2541, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003532/0.2544, allocations: 125.5 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.2545, allocations: 4 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2545, allocations: 3.938 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2545, allocations: 7.953 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2547, allocations: 11.98 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2547, allocations: 3.938 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2548, allocations: 12.06 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2548, allocations: 7.984 kB / 0.983 GB, free: 23.32 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.767e-05/0.2549, allocations: 122.8 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.255, allocations: 3.906 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.255, allocations: 12.38 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.255, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.255, allocations: 3.953 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2551, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.2556, allocations: 386.5 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2557, allocations: 0 / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.2557, allocations: 7.984 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2558, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2558, allocations: 3.953 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2558, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2558, allocations: 4 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2562, allocations: 215.4 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2562, allocations: 85.02 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2563, allocations: 3.938 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2564, allocations: 19.94 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.2565, allocations: 8 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2565, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.2566, allocations: 99.2 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2566, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003857/0.257, allocations: 39.98 kB / 0.984 GB, free: 22.23 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.0009158/0.2579, allocations: 0.804 MB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.2583, allocations: 83.89 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2583, allocations: 0 / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2584, allocations: 39.92 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2588, allocations: 15.88 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2601, allocations: 0.6122 MB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2603, allocations: 0.6848 MB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.624e-05/0.2603, allocations: 4.172 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.2604, allocations: 19.44 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2604, allocations: 0 / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.284, allocations: 2.342 MB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.2844, allocations: 255 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/2.972, allocations: 4.062 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)