Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001519/0.001519, allocations: 181.7 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001041/0.001041, allocations: 91.62 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2906, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9508/1.242, allocations: 140.9 MB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.242, allocations: 82.59 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008181/1.25, allocations: 2.962 MB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/1.25, allocations: 0 / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.25, allocations: 1.094 kB / 1.12 GB, free: 41.49 MB / 0.7448 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.0004128/1.25, allocations: 425.9 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.251, allocations: 12.59 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/1.251, allocations: 31.38 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/1.251, allocations: 16.86 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/1.251, allocations: 170.3 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/1.251, allocations: 0 / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.251, allocations: 7.438 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.251, allocations: 59.67 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/1.251, allocations: 0 / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.251, allocations: 8.562 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.251, allocations: 4 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/1.251, allocations: 23.19 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/1.252, allocations: 315.6 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/1.252, allocations: 43.33 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/1.252, allocations: 23.23 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/1.252, allocations: 0 / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/1.252, allocations: 80.66 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.252, allocations: 0 / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002125/1.252, allocations: 95.09 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.252, allocations: 62.67 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/1.252, allocations: 116 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.252, allocations: 29.7 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.252, allocations: 94.44 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/1.252, allocations: 15.75 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/1.252, allocations: 3.5 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/1.252, allocations: 318.5 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/1.252, allocations: 18.81 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/1.252, allocations: 49.7 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/1.252, allocations: 22.72 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.252, allocations: 0 / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001374/1.253, allocations: 105.4 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.253, allocations: 4 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.253, allocations: 1.062 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.253, allocations: 0 / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/1.253, allocations: 19.48 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.253, allocations: 1.734 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/1.253, allocations: 11.27 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.253, allocations: 4 kB / 1.123 GB, free: 39.38 MB / 0.7448 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 6.043e-05/1.253, allocations: 116.9 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/1.253, allocations: 7.906 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/1.253, allocations: 7.438 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/1.253, allocations: 4.75 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.253, allocations: 4.75 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.253, allocations: 0 / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/1.253, allocations: 366.1 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.253, allocations: 0 / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/1.253, allocations: 8.5 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.253, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.253, allocations: 4.5 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.253, allocations: 0.5625 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.253, allocations: 11.89 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/1.254, allocations: 198.8 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/1.254, allocations: 77.11 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.254, allocations: 0 / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/1.254, allocations: 7.328 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/1.254, allocations: 8.266 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/1.254, allocations: 7.953 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.213e-05/1.254, allocations: 98.61 kB / 1.123 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.254, allocations: 3.938 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002723/1.254, allocations: 47.81 kB / 1.123 GB, free: 38.46 MB / 0.7448 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.0005589/1.255, allocations: 0.8009 MB / 1.124 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001388/1.255, allocations: 59.14 kB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.255, allocations: 0 / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/1.255, allocations: 34.64 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.255, allocations: 4.297 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/1.255, allocations: 150.8 kB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/1.256, allocations: 0.6951 MB / 1.125 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.565e-05/1.256, allocations: 6.688 kB / 1.125 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/1.256, allocations: 21.02 kB / 1.125 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/1.256, allocations: 0 / 1.125 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/1.27, allocations: 2.506 MB / 1.128 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/1.271, allocations: 210.6 kB / 1.128 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.85, allocations: 2.5 kB / 1.128 GB, free: 35.15 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)