Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.00133/0.00133, allocations: 190.4 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.838/1.838, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001069/0.001069, allocations: 109.4 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 59.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3243, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003805/0.3282, allocations: 1.54 MB / 0.9837 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3299, allocations: 0.7722 MB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.33, allocations: 7.938 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.33, allocations: 0 / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.3302, allocations: 7.922 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.3308, allocations: 103.8 kB / 0.9846 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.331, allocations: 79.7 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3312, allocations: 12 kB / 0.9847 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3313, allocations: 35.89 kB / 0.9847 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3314, allocations: 35.84 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.3315, allocations: 4 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.3317, allocations: 83.84 kB / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.3318, allocations: 11.98 kB / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.3318, allocations: 39.78 kB / 0.9849 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3321, allocations: 143.9 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3321, allocations: 0 / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3321, allocations: 0 / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3321, allocations: 0 / 0.985 GB, free: 7.469 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.0007462/0.3329, allocations: 413 kB / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3329, allocations: 8.031 kB / 0.9854 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.333, allocations: 8.844 kB / 0.9854 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3332, allocations: 180.2 kB / 0.9856 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3332, allocations: 8.375 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3332, allocations: 4.375 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3334, allocations: 65.97 kB / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3335, allocations: 0 / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3335, allocations: 7.984 kB / 0.9857 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3335, allocations: 4 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3336, allocations: 31.98 kB / 0.9857 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.3343, allocations: 328.6 kB / 0.986 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3345, allocations: 46.56 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.3346, allocations: 32.97 kB / 0.9861 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3346, allocations: 7.938 kB / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.335, allocations: 75.38 kB / 0.9862 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.335, allocations: 0 / 0.9862 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004795/0.3355, allocations: 149.5 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3355, allocations: 55.39 kB / 0.9864 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3357, allocations: 121.8 kB / 0.9865 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3357, allocations: 33.7 kB / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3358, allocations: 92.12 kB / 0.9866 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3358, allocations: 19.75 kB / 0.9866 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.3359, allocations: 25.7 kB / 0.9867 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.336, allocations: 318.8 kB / 0.987 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.3361, allocations: 31.97 kB / 0.987 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.3362, allocations: 46.56 kB / 0.987 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3364, allocations: 74.48 kB / 0.9871 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3364, allocations: 0 / 0.9871 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002658/0.3367, allocations: 117.8 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3367, allocations: 4.625 kB / 0.9872 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3367, allocations: 8.062 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3368, allocations: 0 / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.3369, allocations: 8 kB / 0.9872 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3369, allocations: 7.922 kB / 0.9872 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.337, allocations: 4 kB / 0.9872 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.337, allocations: 4 kB / 0.9872 GB, free: 4.926 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.000114/0.3371, allocations: 121.8 kB / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.3371, allocations: 7.906 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.3372, allocations: 16.36 kB / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3372, allocations: 0 / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3372, allocations: 0 / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3372, allocations: 0 / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.3377, allocations: 386.3 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3378, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3378, allocations: 4 kB / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3378, allocations: 0 / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3378, allocations: 15.92 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3378, allocations: 0 / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3379, allocations: 3.938 kB / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.3386, allocations: 0.7863 MB / 0.9885 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.3387, allocations: 85.05 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3387, allocations: 11.98 kB / 0.9886 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.3388, allocations: 4 kB / 0.9886 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.3389, allocations: 3.984 kB / 0.9886 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3389, allocations: 4 kB / 0.9887 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.68e-05/0.339, allocations: 95.2 kB / 0.9887 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.339, allocations: 0 / 0.9887 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004555/0.3394, allocations: 39.91 kB / 0.9888 GB, free: 3.211 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.0003905/0.3398, allocations: 167.6 kB / 0.9889 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.3401, allocations: 67.95 kB / 0.989 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3401, allocations: 4 kB / 0.989 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.3402, allocations: 35.92 kB / 0.989 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3405, allocations: 12.05 kB / 0.9891 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.3411, allocations: 317.6 kB / 0.9894 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3415, allocations: 0.6965 MB / 0.99 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.3415, allocations: 8.547 kB / 0.99 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.3416, allocations: 15.42 kB / 0.9901 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.3416, allocations: 0 / 0.9901 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.004636/0.3462, allocations: 1.408 MB / 0.9914 GB, free: 444 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)