Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 183.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.00119/0.001189, allocations: 85.44 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.4989, allocations: 133.7 MB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4993, allocations: 83.95 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009905/0.5092, allocations: 2.994 MB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5092, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5093, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 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.0007397/0.51, allocations: 432.7 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5101, allocations: 8.031 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.5101, allocations: 34.56 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.5102, allocations: 11.89 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.5104, allocations: 178.9 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.5104, allocations: 7.938 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.5104, allocations: 8 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.5106, allocations: 69.66 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5107, allocations: 3.938 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5107, allocations: 0 / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5107, allocations: 0 / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.5109, allocations: 43.97 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.5116, allocations: 320.8 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.5118, allocations: 50.55 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.5118, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.512, allocations: 91.42 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.512, allocations: 0 / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004465/0.5125, allocations: 141.5 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.5126, allocations: 67.36 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.5127, allocations: 108.9 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5127, allocations: 29.7 kB / 1.035 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.5128, allocations: 92.39 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.5129, allocations: 15.8 kB / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5129, allocations: 4 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.513, allocations: 324.7 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.5131, allocations: 27.98 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.5132, allocations: 54.55 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.5134, allocations: 28 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5134, allocations: 0 / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002776/0.5136, allocations: 121.5 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5137, allocations: 10.19 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.5137, allocations: 0 / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5137, allocations: 7.922 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5138, allocations: 15.98 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5139, allocations: 0 / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.5139, allocations: 15.95 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.514, allocations: 7.984 kB / 1.036 GB, free: 4.355 MB / 0.6823 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.0001214/0.5141, allocations: 121.9 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.5141, allocations: 7.906 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.5142, allocations: 8.375 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5142, allocations: 4 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5142, allocations: 0 / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5142, allocations: 0 / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.5147, allocations: 394.4 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5147, allocations: 0 / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.5148, allocations: 11.98 kB / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5148, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.5148, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5148, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5148, allocations: 3.953 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.5152, allocations: 223.4 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.5152, allocations: 85.02 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.5153, allocations: 0 / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.5154, allocations: 7.984 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.5154, allocations: 15.89 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5154, allocations: 4 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.5155, allocations: 91.27 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5155, allocations: 0 / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003774/0.5159, allocations: 55.92 kB / 1.037 GB, free: 3.246 MB / 0.6823 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.000988/0.5169, allocations: 0.8186 MB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.5171, allocations: 75.97 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5172, allocations: 0 / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.5173, allocations: 47.91 kB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5175, allocations: 4 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.5184, allocations: 0.7342 MB / 1.039 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.5187, allocations: 0.6926 MB / 1.039 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.697e-05/0.5188, allocations: 12.16 kB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.5188, allocations: 20.19 kB / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.5188, allocations: 0 / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.539, allocations: 2.494 MB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.5393, allocations: 249.9 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.124, allocations: 0 / 1.042 GB, free: 14.09 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)