Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108 kB / 15.6 MB, free: 132 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.001648/0.001648, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.56 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002823/0.3188, allocations: 1.474 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3201, allocations: 0.7321 MB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3201, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3202, allocations: 11.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.3202, allocations: 11.88 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3208, allocations: 119.6 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3209, allocations: 75.77 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.321, allocations: 15.98 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.3211, allocations: 31.91 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.3212, allocations: 43.83 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3212, allocations: 12 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3214, allocations: 91.84 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.3214, allocations: 19.92 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3215, allocations: 31.86 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3217, allocations: 151.8 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3217, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3217, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3217, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 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.0006264/0.3224, allocations: 418.7 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3224, allocations: 8.031 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3225, allocations: 8.844 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3226, allocations: 180.2 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3227, allocations: 8.375 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3227, allocations: 4.375 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3229, allocations: 65.97 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3229, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3229, allocations: 4 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3229, allocations: 8 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3231, allocations: 43.91 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3237, allocations: 316.7 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3238, allocations: 50.56 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3239, allocations: 32.97 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3239, allocations: 7.984 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3241, allocations: 67.39 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3242, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.3246, allocations: 145.5 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3246, allocations: 55.41 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.3247, allocations: 125.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3247, allocations: 33.69 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3248, allocations: 88.14 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3248, allocations: 23.81 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.3249, allocations: 25.7 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.325, allocations: 322.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.3251, allocations: 31.98 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.3252, allocations: 42.56 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3253, allocations: 74.48 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3253, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002326/0.3256, allocations: 121.5 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3256, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3256, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3256, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.3257, allocations: 11.98 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3257, allocations: 3.938 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.3258, allocations: 7.938 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3258, allocations: 4.391 kB / 1.073 GB, free: 5.035 MB / 0.8262 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.367e-05/0.3259, allocations: 129.8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.3259, allocations: 11.84 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.326, allocations: 8.375 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.326, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.326, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.326, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3264, allocations: 390.3 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3265, allocations: 4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3265, allocations: 7.984 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3265, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3265, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3265, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3265, allocations: 3.938 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3268, allocations: 207.4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3269, allocations: 89.02 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3269, allocations: 3.938 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.327, allocations: 8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.327, allocations: 11.92 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.327, allocations: 4 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.3271, allocations: 91.27 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000289/0.3274, allocations: 43.98 kB / 1.074 GB, free: 3.938 MB / 0.8262 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.0003255/0.3277, allocations: 159.5 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.328, allocations: 75.83 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.328, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3281, allocations: 35.97 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3284, allocations: 16.12 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3288, allocations: 184.8 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3291, allocations: 0.6846 MB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.3291, allocations: 11.97 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3291, allocations: 11.44 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3291, allocations: 0 / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.004009/0.3332, allocations: 1.451 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)