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.247/2.247, allocations: 248.5 MB / 261.1 MB, free: 6.086 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.001506/0.001505, allocations: 179.3 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.2 MB / 0.571 GB, free: 11.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.47 kB / 0.6754 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.663e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8614/1.07, allocations: 133.5 MB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.07, allocations: 80.02 kB / 1.021 GB, free: 1.766 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.01462/1.085, allocations: 2.983 MB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/1.085, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.085, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 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.0007223/1.085, allocations: 414.7 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.086, allocations: 8.031 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/1.086, allocations: 38.44 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/1.086, allocations: 11.86 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.086, allocations: 174.9 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.086, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/1.086, allocations: 7.875 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.086, allocations: 57.03 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.086, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.086, allocations: 3.75 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.086, allocations: 4.875 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/1.086, allocations: 23.75 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/1.087, allocations: 325.2 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/1.087, allocations: 41.02 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/1.087, allocations: 23.92 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/1.088, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/1.088, allocations: 78.19 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/1.088, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003735/1.088, allocations: 103.1 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/1.088, allocations: 55.41 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/1.088, allocations: 107.7 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/1.088, allocations: 29.64 kB / 1.025 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/1.089, allocations: 91.94 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/1.089, allocations: 22.25 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/1.089, allocations: 3.875 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.089, allocations: 322.1 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/1.089, allocations: 19.38 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/1.089, allocations: 41.83 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/1.089, allocations: 22.73 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.089, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002741/1.089, allocations: 99.77 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.089, allocations: 10.66 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.089, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.09, allocations: 4.688 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/1.09, allocations: 23.44 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.09, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.09, allocations: 7.906 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/1.09, allocations: 4 kB / 1.026 GB, free: 12.99 MB / 0.6511 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.0001121/1.09, allocations: 113 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/1.09, allocations: 7.984 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/1.09, allocations: 8.062 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.09, allocations: 7.984 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.09, allocations: 3.953 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.09, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/1.091, allocations: 370 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.091, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/1.091, allocations: 8 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.091, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.091, allocations: 7.938 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.091, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.091, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/1.091, allocations: 193.3 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/1.091, allocations: 85.02 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/1.091, allocations: 7.922 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.092, allocations: 11.95 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/1.092, allocations: 11.17 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/1.092, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.666e-05/1.092, allocations: 95.45 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.092, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004647/1.092, allocations: 51.36 kB / 1.027 GB, free: 12 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.001105/1.093, allocations: 0.7962 MB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002473/1.094, allocations: 57.06 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.094, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.733e-05/1.094, allocations: 25.98 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/1.094, allocations: 16.45 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/1.095, allocations: 153.6 kB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/1.095, allocations: 0.6965 MB / 1.029 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.286e-05/1.095, allocations: 8.125 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/1.095, allocations: 18.55 kB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.095, allocations: 0 / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/1.121, allocations: 2.523 MB / 1.031 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003796/1.122, allocations: 222.7 kB / 1.031 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.568, allocations: 0 / 1.031 GB, free: 7.629 MB / 0.6511 GB