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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008911/0.008911, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.534/1.534, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.74/1.74, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000514/0.0005141, allocations: 13.97 kB / 0.6743 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001638/0.248, allocations: 1.2 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2494, allocations: 0.7568 MB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.2495, allocations: 0 / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.2495, allocations: 7.922 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.2496, allocations: 7.922 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.2501, allocations: 107.8 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2502, allocations: 63.84 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.2503, allocations: 23.86 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.2504, allocations: 27.86 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.2505, allocations: 35.89 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2505, allocations: 4 kB / 0.79 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.2507, allocations: 87.91 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2508, allocations: 15.86 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.2508, allocations: 61.55 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.2511, allocations: 139.9 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2511, allocations: 0 / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2512, allocations: 4 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2512, allocations: 0 / 0.7903 GB, free: 9.047 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.0006214/0.2518, allocations: 401 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2518, allocations: 8.031 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2519, allocations: 8.844 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.252, allocations: 180.2 kB / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.252, allocations: 8.312 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2521, allocations: 4.375 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.2523, allocations: 77.91 kB / 0.791 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2523, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2523, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2523, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.2525, allocations: 47.97 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.2531, allocations: 316.8 kB / 0.7913 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2532, allocations: 54.5 kB / 0.7914 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.2533, allocations: 40.97 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2534, allocations: 3.984 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2535, allocations: 79.39 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2536, allocations: 0 / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.254, allocations: 149.5 kB / 0.7917 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.254, allocations: 55.34 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.2541, allocations: 121.8 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2541, allocations: 37.69 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.2542, allocations: 96.11 kB / 0.792 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.2542, allocations: 11.84 kB / 0.792 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2543, allocations: 21.7 kB / 0.792 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.2543, allocations: 318.8 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.2544, allocations: 35.97 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.2545, allocations: 50.56 kB / 0.7924 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.2547, allocations: 78.48 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2547, allocations: 0 / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002531/0.255, allocations: 121.8 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.255, allocations: 11.94 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.255, allocations: 4.016 kB / 0.7926 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.255, allocations: 0 / 0.7926 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.2551, allocations: 12 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2551, allocations: 7.969 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.2552, allocations: 11.97 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2552, allocations: 4 kB / 0.7926 GB, free: 6.469 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.137e-05/0.2553, allocations: 129.1 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.2554, allocations: 7.906 kB / 0.7927 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2554, allocations: 12.36 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2554, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2554, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2554, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.2559, allocations: 394.4 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2559, allocations: 0 / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.2559, allocations: 7.984 kB / 0.7931 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.256, allocations: 3.938 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.256, allocations: 3.984 kB / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.256, allocations: 0 / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.256, allocations: 7.938 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.2563, allocations: 211.4 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2563, allocations: 81.11 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2563, allocations: 3.984 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.2564, allocations: 8 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2565, allocations: 11.92 kB / 0.7935 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2565, allocations: 0 / 0.7935 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.2565, allocations: 99.27 kB / 0.7936 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2566, allocations: 0 / 0.7936 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003009/0.2569, allocations: 35.91 kB / 0.7936 GB, free: 5.375 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.0003212/0.2572, allocations: 171.9 kB / 0.7938 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.2574, allocations: 79.94 kB / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2574, allocations: 0 / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.2575, allocations: 35.92 kB / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2578, allocations: 12.11 kB / 0.7939 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.2582, allocations: 214.4 kB / 0.7941 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2584, allocations: 0.6887 MB / 0.7948 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2585, allocations: 8 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.2585, allocations: 15.42 kB / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2585, allocations: 0 / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of Templates: time 0.003835/0.2624, allocations: 1.359 MB / 0.7961 GB, free: 2.766 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) Environment - environmentSimulation: