Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.497/2.497, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 188.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 92.98 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.195e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.821, allocations: 115.3 MB / 0.9634 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/1.057, allocations: 139.1 MB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.057, allocations: 80.52 kB / 1.099 GB, free: 1.254 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01431/1.071, allocations: 2.965 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/1.071, allocations: 0.6875 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.071, allocations: 0.6562 kB / 1.102 GB, free: 14.34 MB / 0.7136 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.0007243/1.072, allocations: 414.5 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.072, allocations: 8.562 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/1.072, allocations: 7.906 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.072, allocations: 171.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/1.072, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/1.072, allocations: 12.69 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/1.073, allocations: 20 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.073, allocations: 62.53 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.073, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.073, allocations: 0.5 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.073, allocations: 0.625 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.074, allocations: 296.1 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/1.074, allocations: 39.3 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/1.075, allocations: 29.66 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/1.075, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/1.075, allocations: 73.98 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/1.075, allocations: 2.156 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005577/1.076, allocations: 89.69 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.076, allocations: 59.39 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.076, allocations: 116.2 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.076, allocations: 31.17 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/1.076, allocations: 88.33 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/1.076, allocations: 15.75 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.076, allocations: 0 / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.076, allocations: 330.5 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/1.076, allocations: 12 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/1.076, allocations: 42.56 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/1.076, allocations: 16 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.076, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002596/1.077, allocations: 97.48 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.077, allocations: 8 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.077, allocations: 1.844 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.077, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/1.077, allocations: 15.98 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.077, allocations: 3.938 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/1.077, allocations: 8.062 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/1.077, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 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.0001101/1.077, allocations: 119.5 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002543/1.078, allocations: 100.5 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/1.078, allocations: 2.156 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/1.078, allocations: 12.62 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.078, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.078, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.078, allocations: 3.953 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/1.078, allocations: 339 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.078, allocations: 4 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/1.078, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.078, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/1.078, allocations: 7.984 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.078, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.078, allocations: 3.953 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/1.079, allocations: 195.4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/1.079, allocations: 85.02 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/1.079, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.079, allocations: 11.98 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/1.079, allocations: 7.953 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/1.079, allocations: 3.984 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.611e-05/1.079, allocations: 87.28 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.8e-07/1.079, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004851/1.08, allocations: 55.92 kB / 1.105 GB, free: 11 MB / 0.7136 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.001057/1.081, allocations: 0.8026 MB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002167/1.081, allocations: 55.97 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.081, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/1.081, allocations: 27.94 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.081, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/1.082, allocations: 148.5 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.082, allocations: 0.6925 MB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.296e-05/1.082, allocations: 13.42 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/1.082, allocations: 15.44 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.082, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/1.118, allocations: 2.185 MB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/1.118, allocations: 200 kB / 1.109 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.565, allocations: 3 kB / 1.109 GB, free: 6.789 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)