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.0008639/0.0008637, allocations: 90.98 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.0055/0.0055, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 11 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001681/0.3823, allocations: 1.2 MB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3835, allocations: 0.7246 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3835, allocations: 3.938 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3836, allocations: 7.922 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.3836, allocations: 7.938 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.3841, allocations: 107.8 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.3842, allocations: 63.84 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3843, allocations: 15.97 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.3844, allocations: 35.84 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.3845, allocations: 31.84 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3845, allocations: 4 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3847, allocations: 87.91 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.3847, allocations: 15.91 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.3848, allocations: 61.5 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.385, allocations: 139.9 kB / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.385, allocations: 0 / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.845e-06/0.385, allocations: 0 / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.385, allocations: 0 / 1.077 GB, free: 5.043 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.0005854/0.3856, allocations: 405 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3857, allocations: 12.03 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3857, allocations: 8.844 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3859, allocations: 172.3 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.3859, allocations: 4.375 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3859, allocations: 12.38 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3861, allocations: 77.89 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3861, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3862, allocations: 4 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3862, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3863, allocations: 43.97 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.387, allocations: 324.6 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3871, allocations: 50.56 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.3872, allocations: 44.83 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3872, allocations: 0 / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.3874, allocations: 87.38 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3874, allocations: 0 / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003913/0.3878, allocations: 145.6 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3879, allocations: 55.41 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.388, allocations: 125.8 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.388, allocations: 29.7 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.3881, allocations: 92.14 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3881, allocations: 11.75 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.3881, allocations: 21.7 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.3882, allocations: 322.8 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.3883, allocations: 31.97 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.3884, allocations: 50.56 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3886, allocations: 86.78 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3886, allocations: 0 / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002445/0.3889, allocations: 121.5 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3889, allocations: 4 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3889, allocations: 4 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3889, allocations: 3.984 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.389, allocations: 15.98 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.389, allocations: 4 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.3891, allocations: 11.97 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3891, allocations: 4 kB / 1.079 GB, free: 2.457 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 8.883e-05/0.3892, allocations: 125.7 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3893, allocations: 4 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.3893, allocations: 12.36 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3893, allocations: 0 / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3893, allocations: 0 / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3893, allocations: 4 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.3898, allocations: 390.3 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3898, allocations: 0 / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.3898, allocations: 4 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3898, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3898, allocations: 11.92 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3899, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3899, allocations: 7.938 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3901, allocations: 211.5 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3902, allocations: 81.02 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3902, allocations: 7.984 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.3903, allocations: 8 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3904, allocations: 7.922 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3904, allocations: 11.94 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.3904, allocations: 91.92 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3904, allocations: 0 / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003023/0.3907, allocations: 36 kB / 1.08 GB, free: 1.363 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.0003426/0.3911, allocations: 161.9 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3913, allocations: 75.95 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3914, allocations: 0 / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3915, allocations: 44.25 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3917, allocations: 12.11 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.3921, allocations: 211.1 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3924, allocations: 0.6926 MB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.3924, allocations: 12.12 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.3925, allocations: 11.44 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3925, allocations: 0 / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of Templates: time 0.00396/0.3964, allocations: 1.358 MB / 1.082 GB, free: 14.75 MB / 0.8419 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)