Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.746/4.746, allocations: 0.5623 GB / 0.5769 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003959/0.003959, allocations: 365.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.545/4.545, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001765, allocations: 191.9 kB / 1.225 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000772/0.0007722, allocations: 12 kB / 1.348 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6138, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00229/0.6161, allocations: 1.185 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.6182, allocations: 0.7139 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.6183, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.6183, allocations: 4.531 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.6185, allocations: 12.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007075/0.6192, allocations: 91.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.6193, allocations: 72.27 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.6195, allocations: 5.562 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.6196, allocations: 35.89 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.6197, allocations: 28.66 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.6198, allocations: 4.594 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.6201, allocations: 87.78 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.6202, allocations: 17.59 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.6202, allocations: 33.64 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.6205, allocations: 97.94 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.927e-06/0.6205, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.691e-06/0.6205, allocations: 1.094 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.113e-06/0.6206, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 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.0007363/0.6213, allocations: 410.4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6214, allocations: 15.62 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.6215, allocations: 8.672 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.6216, allocations: 174.9 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.6217, allocations: 6.469 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.6217, allocations: 7.938 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.6221, allocations: 69.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6221, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.6222, allocations: 11.98 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-06/0.6222, allocations: 6.875 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.6225, allocations: 35.98 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.6234, allocations: 322.6 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.6237, allocations: 51.97 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.6239, allocations: 39.25 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.624, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.6243, allocations: 85.75 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 4.034e-06/0.6244, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0007995/0.6252, allocations: 153.1 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.6252, allocations: 55.41 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6254, allocations: 125.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6255, allocations: 35.48 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.6255, allocations: 84.33 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6256, allocations: 19.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.6256, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.6257, allocations: 319.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.6259, allocations: 28.69 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6262, allocations: 53.95 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.6264, allocations: 33.23 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.6264, allocations: 0.8438 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005581/0.627, allocations: 122.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.627, allocations: 9.781 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.601e-06/0.6271, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6271, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.6273, allocations: 19.88 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.6274, allocations: 5.312 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.6275, allocations: 7.938 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.6276, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 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 0.0001274/0.6277, allocations: 119.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.6278, allocations: 11.91 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.6279, allocations: 5.406 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-06/0.6279, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.145e-06/0.6279, allocations: 7.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.18e-06/0.6279, allocations: 1.312 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.6288, allocations: 380.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-06/0.6288, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.6289, allocations: 8.609 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-06/0.6289, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.629, allocations: 11 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.236e-06/0.629, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.191e-06/0.629, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.6296, allocations: 224.8 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.6297, allocations: 90.09 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.6297, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.63, allocations: 8.547 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.6301, allocations: 5.234 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6301, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.447e-05/0.6302, allocations: 97.34 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.194e-06/0.6302, allocations: 0.8438 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007261/0.631, allocations: 31.94 kB / 1.466 GB, free: 278.4 MB / 0.8542 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.0005256/0.6315, allocations: 168.4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.632, allocations: 79.22 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.151e-06/0.6321, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.6323, allocations: 35.98 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.6329, allocations: 5.141 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.6336, allocations: 213.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.6338, allocations: 0.6933 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.89e-05/0.6339, allocations: 5.156 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.634, allocations: 13.83 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.17e-06/0.634, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.007498/0.6415, allocations: 1.351 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB