Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 285.4 MB / 298 MB, free: 5.996 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.001404/0.001404, allocations: 172.9 kB / 366.4 MB, free: 2.109 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.122/2.122, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0009193/0.0009192, allocations: 98.28 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.988e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7174, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.9166, allocations: 139.9 MB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9169, allocations: 81.03 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.008924/0.9258, allocations: 2.978 MB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9258, allocations: 3.938 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9259, allocations: 4 kB / 1.111 GB, free: 8.812 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.0005458/0.9264, allocations: 414.2 kB / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.9265, allocations: 12.03 kB / 1.111 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.9265, allocations: 38.55 kB / 1.111 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.9266, allocations: 8.625 kB / 1.111 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.9267, allocations: 170.1 kB / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.9268, allocations: 4.719 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.9268, allocations: 2 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.927, allocations: 68.66 kB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.927, allocations: 0 / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.927, allocations: 5.906 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.927, allocations: 0 / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.9271, allocations: 23.98 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.9277, allocations: 319.1 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.9278, allocations: 43.36 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.9279, allocations: 24.98 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.9279, allocations: 5.953 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.9281, allocations: 77.42 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.9281, allocations: 0 / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002402/0.9283, allocations: 90.89 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.9284, allocations: 59.36 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.9285, allocations: 121.5 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.9285, allocations: 33.7 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.9286, allocations: 84.89 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.9286, allocations: 20.34 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.9286, allocations: 4.531 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9287, allocations: 323.7 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.9288, allocations: 12 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.9288, allocations: 44.97 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.9289, allocations: 20 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9289, allocations: 0 / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001602/0.9291, allocations: 108.8 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.9291, allocations: 4 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9291, allocations: 0 / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9291, allocations: 0 / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.9292, allocations: 19.92 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9293, allocations: 0 / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.9293, allocations: 11.95 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.9294, allocations: 7.984 kB / 1.113 GB, free: 6.461 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 7.633e-05/0.9294, allocations: 113 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.9295, allocations: 7.906 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.9295, allocations: 4.625 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.9295, allocations: 0 / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9295, allocations: 4 kB / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9295, allocations: 0 / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.9299, allocations: 369.6 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/0.9299, allocations: 0 / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.93, allocations: 11.98 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.93, allocations: 0 / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.93, allocations: 9.75 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.93, allocations: 3.938 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.93, allocations: 3.953 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.9302, allocations: 199.4 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.9303, allocations: 81.09 kB / 1.113 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.9303, allocations: 4 kB / 1.113 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.9304, allocations: 4 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.9304, allocations: 7.984 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.9304, allocations: 7.953 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.9305, allocations: 96.03 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9305, allocations: 0 / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002824/0.9308, allocations: 47.84 kB / 1.114 GB, free: 5.414 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.0006928/0.9315, allocations: 0.7976 MB / 1.114 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.9316, allocations: 52 kB / 1.114 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9317, allocations: 3.562 kB / 1.114 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.9317, allocations: 36.98 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.9319, allocations: 10.62 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.9323, allocations: 153.5 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.9326, allocations: 0.6887 MB / 1.115 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.9326, allocations: 8.172 kB / 1.115 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.9327, allocations: 19.44 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.9327, allocations: 4 kB / 1.115 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.9459, allocations: 2.525 MB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.9462, allocations: 220.3 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.572, allocations: 0 / 1.118 GB, free: 1.047 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)