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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001508/0.001508, allocations: 194.2 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.84 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3135, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.004194/0.3177, allocations: 1.551 MB / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3193, allocations: 0.7683 MB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.3194, allocations: 4 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.664e-05/0.3195, allocations: 0 / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.3196, allocations: 11.86 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.3203, allocations: 103.8 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3205, allocations: 75.77 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3206, allocations: 4 kB / 0.9847 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3207, allocations: 39.91 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.3208, allocations: 43.77 kB / 0.9847 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3209, allocations: 4 kB / 0.9848 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3211, allocations: 83.91 kB / 0.9848 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.3211, allocations: 11.97 kB / 0.9848 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3212, allocations: 35.8 kB / 0.9849 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3215, allocations: 139.9 kB / 0.985 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3215, allocations: 3.938 kB / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3215, allocations: 0 / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3215, allocations: 0 / 0.985 GB, free: 7.492 MB / 0.7136 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.0007554/0.3222, allocations: 413 kB / 0.9854 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3223, allocations: 12.02 kB / 0.9854 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.3224, allocations: 8.844 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3225, allocations: 172.2 kB / 0.9856 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.3225, allocations: 8.375 kB / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3226, allocations: 4.375 kB / 0.9856 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3228, allocations: 69.95 kB / 0.9857 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3228, allocations: 0 / 0.9857 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3228, allocations: 12 kB / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3228, allocations: 0 / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.323, allocations: 39.91 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.3237, allocations: 320.7 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3238, allocations: 50.56 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.3239, allocations: 32.97 kB / 0.9861 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3239, allocations: 3.938 kB / 0.9861 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.3242, allocations: 75.31 kB / 0.9862 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3242, allocations: 0 / 0.9862 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003977/0.3246, allocations: 145.6 kB / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3247, allocations: 55.41 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3248, allocations: 121.8 kB / 0.9865 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3248, allocations: 33.7 kB / 0.9865 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.3249, allocations: 84.14 kB / 0.9866 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3249, allocations: 23.73 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.325, allocations: 21.72 kB / 0.9866 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3251, allocations: 330.8 kB / 0.987 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.3252, allocations: 23.98 kB / 0.987 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3253, allocations: 54.92 kB / 0.987 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3255, allocations: 66.55 kB / 0.9871 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3255, allocations: 8 kB / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.3257, allocations: 105.5 kB / 0.9872 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.3257, allocations: 8 kB / 0.9872 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3258, allocations: 0 / 0.9872 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3258, allocations: 3.984 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.3259, allocations: 11.94 kB / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3259, allocations: 4 kB / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.326, allocations: 7.984 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.326, allocations: 4.062 kB / 0.9872 GB, free: 4.957 MB / 0.7136 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 0.0001012/0.3261, allocations: 125.8 kB / 0.9874 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.3261, allocations: 7.906 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3261, allocations: 4.375 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3262, allocations: 3.984 kB / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3262, allocations: 0 / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3262, allocations: 0 / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.3266, allocations: 390.7 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3267, allocations: 8 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.3267, allocations: 0 / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3267, allocations: 4 kB / 0.9878 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3267, allocations: 3.938 kB / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3267, allocations: 0 / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3268, allocations: 7.922 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.3274, allocations: 0.7981 MB / 0.9886 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3275, allocations: 81.05 kB / 0.9886 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3275, allocations: 4 kB / 0.9886 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.3276, allocations: 7.984 kB / 0.9886 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3277, allocations: 7.938 kB / 0.9887 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3277, allocations: 3.984 kB / 0.9887 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.418e-05/0.3278, allocations: 107.4 kB / 0.9888 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3278, allocations: 0 / 0.9888 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004117/0.3282, allocations: 39.91 kB / 0.9888 GB, free: 3.223 MB / 0.7136 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.0003676/0.3286, allocations: 154.1 kB / 0.9889 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3288, allocations: 71.95 kB / 0.989 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3289, allocations: 0 / 0.989 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.329, allocations: 35.98 kB / 0.989 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3292, allocations: 10.33 kB / 0.9891 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.3298, allocations: 329.6 kB / 0.9894 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3301, allocations: 0.6887 MB / 0.99 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.3301, allocations: 4 kB / 0.99 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3302, allocations: 11.44 kB / 0.9901 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.3302, allocations: 0 / 0.9901 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.004099/0.3343, allocations: 1.406 MB / 0.9914 GB, free: 476 kB / 0.7136 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)