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.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001108/0.001109, allocations: 174.8 kB / 326.5 MB, free: 2.227 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.863/1.863, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001001/0.001002, allocations: 86.16 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004372, allocations: 6.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001698/0.2624, allocations: 1.184 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2635, allocations: 0.7342 MB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.2636, allocations: 0 / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2636, allocations: 3.938 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.2637, allocations: 11.97 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2642, allocations: 95.64 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.2643, allocations: 47.94 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.2644, allocations: 15.97 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.2645, allocations: 23.92 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.2645, allocations: 39.83 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2646, allocations: 4 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2647, allocations: 59.94 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.2647, allocations: 19.91 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2648, allocations: 33.7 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.265, allocations: 99.77 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.265, allocations: 0 / 0.9024 GB, free: 61.46 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.0005435/0.2656, allocations: 409.2 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2656, allocations: 12.03 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2657, allocations: 30.56 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2657, allocations: 15.86 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2658, allocations: 182.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2658, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2659, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.266, allocations: 69.66 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2661, allocations: 0 / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2661, allocations: 4 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2661, allocations: 0 / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2662, allocations: 47.97 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.2667, allocations: 312.7 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2669, allocations: 62.53 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2669, allocations: 0 / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.2671, allocations: 79.48 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2671, allocations: 3.938 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003542/0.2675, allocations: 161.5 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2675, allocations: 55.41 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.2676, allocations: 117.8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2676, allocations: 29.7 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2677, allocations: 92.23 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2677, allocations: 19.84 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.2677, allocations: 0 / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.2678, allocations: 318.8 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.2678, allocations: 31.92 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.2679, allocations: 50.55 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.268, allocations: 39.94 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.268, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002077/0.2682, allocations: 117.5 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2683, allocations: 4 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2683, allocations: 4.062 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2683, allocations: 4 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.2684, allocations: 19.94 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2684, allocations: 0 / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.2685, allocations: 15.89 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2685, allocations: 4 kB / 0.9047 GB, free: 58.95 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,$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 7.372e-05/0.2686, allocations: 120.8 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.2686, allocations: 8 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.2686, allocations: 8.375 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2686, allocations: 0 / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2686, allocations: 3.953 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2686, allocations: 3.984 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.269, allocations: 394.4 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.269, allocations: 4 kB / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.269, allocations: 4 kB / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2691, allocations: 0 / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2691, allocations: 3.953 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2691, allocations: 7.938 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2691, allocations: 0 / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.2693, allocations: 219.4 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.2694, allocations: 81.05 kB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2694, allocations: 0 / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.2695, allocations: 11.94 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2695, allocations: 4 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2695, allocations: 7.984 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.2696, allocations: 91.88 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2696, allocations: 0 / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002644/0.2698, allocations: 43.98 kB / 0.9056 GB, free: 57.85 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 (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.0006018/0.2704, allocations: 0.8124 MB / 0.9064 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.2707, allocations: 75.89 kB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2707, allocations: 0 / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.2708, allocations: 36.11 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.2709, allocations: 15.94 kB / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.2716, allocations: 0.7263 MB / 0.9073 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2717, allocations: 0.6887 MB / 0.9079 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.2718, allocations: 8.172 kB / 0.9079 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.2718, allocations: 23.44 kB / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2718, allocations: 0 / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.284, allocations: 2.327 MB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.2842, allocations: 245.7 kB / 0.9105 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.983, allocations: 0 / 0.9105 GB, free: 52.91 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)