Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.409/2.409, allocations: 248.7 MB / 256.2 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 172.9 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 90.03 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.527e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8616/1.08, allocations: 133.7 MB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004619/1.08, allocations: 80.14 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01519/1.096, allocations: 2.969 MB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.096, allocations: 4 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.096, allocations: 0 / 1.018 GB, free: 2.793 MB / 0.6355 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.0007679/1.097, allocations: 411.7 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/1.097, allocations: 8.031 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/1.097, allocations: 11.86 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/1.097, allocations: 178.5 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/1.097, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/1.097, allocations: 4 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/1.097, allocations: 27.5 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/1.097, allocations: 53.05 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.097, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.097, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.097, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/1.098, allocations: 299.1 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/1.098, allocations: 45.69 kB / 1.019 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/1.099, allocations: 20.05 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/1.099, allocations: 0 / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/1.099, allocations: 70.2 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.679e-06/1.099, allocations: 5.125 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003883/1.099, allocations: 91.52 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.099, allocations: 59.36 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.099, allocations: 112.2 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.099, allocations: 25.7 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/1.1, allocations: 91.77 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/1.1, allocations: 23.55 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/1.1, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.1, allocations: 318.2 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/1.1, allocations: 23.06 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/1.1, allocations: 41.75 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/1.1, allocations: 18.92 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.1, allocations: 7.938 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002765/1.1, allocations: 87.91 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.1, allocations: 4 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.1, allocations: 4.062 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.1, allocations: 7.984 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/1.101, allocations: 8 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.101, allocations: 0 / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.101, allocations: 15.84 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.101, allocations: 4 kB / 1.02 GB, free: 0.6758 MB / 0.6355 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 () * 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.0001212/1.101, allocations: 108.9 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002699/1.101, allocations: 99 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/1.101, allocations: 7.906 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/1.101, allocations: 12.23 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.101, allocations: 0 / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.101, allocations: 7.938 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.101, allocations: 0 / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/1.102, allocations: 335.9 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.102, allocations: 0 / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/1.102, allocations: 7.984 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/1.102, allocations: 4 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.102, allocations: 0 / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.102, allocations: 3.953 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.102, allocations: 0 / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/1.103, allocations: 196 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/1.103, allocations: 85 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/1.103, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/1.103, allocations: 11.94 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/1.103, allocations: 15.94 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/1.103, allocations: 4 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.475e-05/1.103, allocations: 93.59 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.103, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005046/1.104, allocations: 47.92 kB / 1.021 GB, free: 15.64 MB / 0.6511 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 () * 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.001269/1.105, allocations: 0.7857 MB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002372/1.105, allocations: 51.19 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.105, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/1.105, allocations: 32.11 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/1.106, allocations: 12.08 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/1.106, allocations: 151.2 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.107, allocations: 0.6885 MB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.282e-05/1.107, allocations: 8.797 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/1.107, allocations: 21.86 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.107, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/1.145, allocations: 2.186 MB / 1.024 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/1.146, allocations: 198.1 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.568, allocations: 0 / 1.025 GB, free: 11.44 MB / 0.6511 GB