Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.0009327/0.0009327, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001222/0.001222, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.834/1.834, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005572/0.0005573, allocations: 17.66 kB / 0.6738 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2572, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001634/0.2589, allocations: 1.187 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2601, allocations: 0.7154 MB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.2602, allocations: 0 / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.2602, allocations: 3.938 kB / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.2603, allocations: 11.92 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2607, allocations: 99.75 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.2608, allocations: 63.78 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.2609, allocations: 8 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.261, allocations: 31.91 kB / 0.7895 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.2611, allocations: 35.83 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2611, allocations: 4 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2613, allocations: 87.91 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.2613, allocations: 11.92 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2614, allocations: 37.7 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.2615, allocations: 99.97 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2615, allocations: 0 / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2615, allocations: 0 / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.2615, allocations: 0 / 0.7897 GB, free: 9.43 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.0006229/0.2622, allocations: 408.8 kB / 0.7901 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2622, allocations: 12.03 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.2623, allocations: 38.5 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2623, allocations: 7.906 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.2625, allocations: 175 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.2625, allocations: 4 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.2626, allocations: 11.94 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2628, allocations: 65.66 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2628, allocations: 0 / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2628, allocations: 4 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2629, allocations: 4 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.263, allocations: 43.91 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.2636, allocations: 324.7 kB / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.2638, allocations: 50.56 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.2639, allocations: 40.95 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2639, allocations: 0 / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.2642, allocations: 83.31 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2642, allocations: 0 / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004348/0.2646, allocations: 149.5 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.2647, allocations: 59.47 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2648, allocations: 125.8 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2649, allocations: 25.7 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.265, allocations: 96.27 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.265, allocations: 11.81 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.265, allocations: 4 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2652, allocations: 318.8 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.2653, allocations: 31.98 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2654, allocations: 54.48 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.2655, allocations: 32 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2655, allocations: 0 / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.2657, allocations: 117.5 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2658, allocations: 4 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2658, allocations: 0 / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2658, allocations: 4 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2659, allocations: 11.98 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2659, allocations: 3.953 kB / 0.792 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.266, allocations: 20.05 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.266, allocations: 3.984 kB / 0.792 GB, free: 6.887 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,$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.0002296/0.2663, allocations: 125.7 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2663, allocations: 3.906 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2664, allocations: 12.38 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2664, allocations: 0 / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2664, allocations: 3.984 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2664, allocations: 3.953 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.2669, allocations: 386.5 kB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2669, allocations: 0 / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.2669, allocations: 7.938 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2669, allocations: 0 / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.267, allocations: 3.938 kB / 0.7925 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.267, allocations: 15.89 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.267, allocations: 4 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2673, allocations: 211.9 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.2673, allocations: 85.02 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2673, allocations: 4 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.2674, allocations: 11.98 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.2675, allocations: 7.953 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2675, allocations: 7.984 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002075/0.2677, allocations: 91.92 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2677, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003097/0.268, allocations: 36 kB / 0.793 GB, free: 5.785 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 (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.001044/0.2691, allocations: 0.8081 MB / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.2694, allocations: 79.91 kB / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2694, allocations: 0 / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2695, allocations: 35.97 kB / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.2698, allocations: 15.89 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2711, allocations: 0.6142 MB / 0.7945 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2716, allocations: 0.6887 MB / 0.7951 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.2716, allocations: 8.125 kB / 0.7952 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2717, allocations: 19.44 kB / 0.7952 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2717, allocations: 0 / 0.7952 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2886, allocations: 2.333 MB / 0.7974 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/0.289, allocations: 248.2 kB / 0.7977 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.215, allocations: 3.094 kB / 0.7977 GB, free: 1.004 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) Environment - environmentSimulation: