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.001996/0.001996, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.616/1.616, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.702/1.702, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001465/0.001465, allocations: 67.78 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3028, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003318/0.3062, allocations: 1.468 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3078, allocations: 0.7769 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.3079, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.308, allocations: 3.938 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.308, allocations: 15.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.3088, allocations: 123.6 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3089, allocations: 75.83 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3091, allocations: 8 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.3092, allocations: 43.78 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.3093, allocations: 35.89 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3093, allocations: 8 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.3095, allocations: 91.91 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.3096, allocations: 15.92 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.3096, allocations: 39.84 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3099, allocations: 147.8 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3099, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3099, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3099, allocations: 0 / 0.7861 GB, free: 10.6 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.0007416/0.3107, allocations: 413 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3107, allocations: 8.031 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3108, allocations: 12.84 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3109, allocations: 180.2 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.311, allocations: 4.359 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.311, allocations: 4.375 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3112, allocations: 73.97 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3112, allocations: 0 / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3112, allocations: 0 / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3112, allocations: 7.922 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3114, allocations: 35.98 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.3121, allocations: 320.8 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3122, allocations: 42.56 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.3123, allocations: 36.91 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.3124, allocations: 4 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.3126, allocations: 91.22 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3126, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004487/0.3131, allocations: 129.6 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3132, allocations: 51.48 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3133, allocations: 129.7 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3133, allocations: 33.7 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.3134, allocations: 92.12 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3134, allocations: 19.73 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3135, allocations: 37.64 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3136, allocations: 314.8 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.3137, allocations: 27.98 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.3138, allocations: 50.55 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.314, allocations: 74.48 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.314, allocations: 0 / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002335/0.3142, allocations: 109.8 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3143, allocations: 12.86 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3143, allocations: 4.141 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3143, allocations: 4 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3144, allocations: 8 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3144, allocations: 3.984 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.3145, allocations: 7.984 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3145, allocations: 8 kB / 0.7884 GB, free: 8.051 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.433e-05/0.3146, allocations: 117.8 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3146, allocations: 7.906 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3147, allocations: 16.36 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3147, allocations: 4 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3147, allocations: 3.938 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3147, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.3152, allocations: 378.4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3152, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.3153, allocations: 4 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3153, allocations: 4 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3153, allocations: 3.984 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3153, allocations: 4 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3153, allocations: 3.938 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3156, allocations: 211.3 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3156, allocations: 85.02 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3157, allocations: 3.984 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.3158, allocations: 8 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3158, allocations: 7.938 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3158, allocations: 11.92 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.3159, allocations: 91.27 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3159, allocations: 0 / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002979/0.3162, allocations: 36 kB / 0.7893 GB, free: 6.965 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.00035/0.3165, allocations: 158.1 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3168, allocations: 83.88 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3168, allocations: 0 / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.3169, allocations: 35.92 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3172, allocations: 17.34 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.3176, allocations: 181 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.318, allocations: 0.6885 MB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.318, allocations: 4 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.318, allocations: 19.44 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.318, allocations: 0 / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.004517/0.3226, allocations: 1.462 MB / 0.7919 GB, free: 4.289 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (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)