Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009171/0.000917, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00116/0.001161, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 252 MB / 0.5102 GB, free: 4.801 MB / 414.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.0005479/0.0005479, allocations: 19.94 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5217, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001727/0.5235, allocations: 1.184 MB / 0.7293 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.5248, allocations: 0.7217 MB / 0.73 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.5248, allocations: 4 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.5249, allocations: 7.938 kB / 0.73 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.5249, allocations: 3.938 kB / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.5254, allocations: 103.8 kB / 0.7301 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.5256, allocations: 71.77 kB / 0.7302 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.5257, allocations: 7.984 kB / 0.7302 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.5257, allocations: 23.92 kB / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.5258, allocations: 43.83 kB / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.5258, allocations: 4 kB / 0.7303 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.526, allocations: 87.84 kB / 0.7303 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.5261, allocations: 11.98 kB / 0.7303 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.5261, allocations: 33.64 kB / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.5263, allocations: 101.8 kB / 0.7305 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5263, allocations: 0 / 0.7305 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5263, allocations: 0 / 0.7305 GB, free: 8.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5264, allocations: 0 / 0.7305 GB, free: 8.988 MB / 0.545 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.000616/0.527, allocations: 412.7 kB / 0.7309 GB, free: 8.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.527, allocations: 12.03 kB / 0.7309 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.5271, allocations: 11.86 kB / 0.7309 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.5272, allocations: 166.9 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.5272, allocations: 11.98 kB / 0.7311 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.5273, allocations: 4 kB / 0.7311 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.5275, allocations: 65.66 kB / 0.7311 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5275, allocations: 4 kB / 0.7311 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.5275, allocations: 4 kB / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5275, allocations: 7.938 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.5276, allocations: 39.97 kB / 0.7312 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.5283, allocations: 316.8 kB / 0.7315 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5284, allocations: 58.5 kB / 0.7315 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.5285, allocations: 32.97 kB / 0.7316 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5285, allocations: 4 kB / 0.7316 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.5287, allocations: 79.31 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.5287, allocations: 0 / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003861/0.5291, allocations: 157.7 kB / 0.7318 GB, free: 7.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.5292, allocations: 55.41 kB / 0.7319 GB, free: 7.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.5293, allocations: 117.8 kB / 0.732 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5293, allocations: 33.7 kB / 0.732 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.5294, allocations: 88.31 kB / 0.7321 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.5294, allocations: 23.81 kB / 0.7321 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5294, allocations: 7.875 kB / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5296, allocations: 322.8 kB / 0.7324 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.5297, allocations: 27.98 kB / 0.7324 GB, free: 6.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.5298, allocations: 50.56 kB / 0.7325 GB, free: 6.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.5299, allocations: 40.05 kB / 0.7325 GB, free: 6.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5299, allocations: 0 / 0.7325 GB, free: 6.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002209/0.5301, allocations: 117.5 kB / 0.7326 GB, free: 6.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5301, allocations: 4 kB / 0.7326 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5301, allocations: 4 kB / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5302, allocations: 0 / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.5303, allocations: 16 kB / 0.7327 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.5303, allocations: 11.94 kB / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.5304, allocations: 7.906 kB / 0.7327 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5304, allocations: 7.984 kB / 0.7327 GB, free: 6.477 MB / 0.545 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.763e-05/0.5305, allocations: 113.8 kB / 0.7328 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.5305, allocations: 4 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.5305, allocations: 8.375 kB / 0.7328 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5305, allocations: 0 / 0.7328 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5305, allocations: 7.953 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5306, allocations: 8 kB / 0.7328 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.531, allocations: 386.4 kB / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.531, allocations: 0 / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.5311, allocations: 7.984 kB / 0.7332 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5311, allocations: 0 / 0.7332 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.5311, allocations: 11.95 kB / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5311, allocations: 0 / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5311, allocations: 3.984 kB / 0.7332 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.5314, allocations: 215.4 kB / 0.7334 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.5314, allocations: 77.11 kB / 0.7335 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.5315, allocations: 4 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.5315, allocations: 11.89 kB / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.5316, allocations: 15.86 kB / 0.7335 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5316, allocations: 4 kB / 0.7335 GB, free: 5.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.5317, allocations: 91.27 kB / 0.7336 GB, free: 5.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5317, allocations: 0 / 0.7336 GB, free: 5.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002865/0.532, allocations: 43.92 kB / 0.7337 GB, free: 5.383 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/0.5323, allocations: 158.8 kB / 0.7338 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5326, allocations: 80.12 kB / 0.7339 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5326, allocations: 0 / 0.7339 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.5327, allocations: 44.25 kB / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.5329, allocations: 0 / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.5334, allocations: 215.1 kB / 0.7341 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.5337, allocations: 0.6926 MB / 0.7348 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.5337, allocations: 8.172 kB / 0.7348 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.5338, allocations: 15.44 kB / 0.7348 GB, free: 4.137 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5338, allocations: 3.938 kB / 0.7348 GB, free: 4.133 MB / 0.545 GB Notification: Performance of Templates: time 0.003943/0.5377, allocations: 1.345 MB / 0.7362 GB, free: 2.824 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) Environment - environmentSimulation: