Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.855/1.855, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001421/0.001421, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.746/1.746, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.00107/0.001069, allocations: 94.92 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.827e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7285, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.9198, allocations: 139.3 MB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.9201, allocations: 80.44 kB / 1.101 GB, free: 500 kB / 0.698 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.009175/0.9293, allocations: 2.957 MB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9294, allocations: 0.6875 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.9294, allocations: 4 kB / 1.103 GB, free: 13.58 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.0005311/0.9299, allocations: 417.4 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.93, allocations: 12.91 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.93, allocations: 10.44 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.9302, allocations: 171.5 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.9302, allocations: 3.984 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.9302, allocations: 4.656 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.734e-05/0.9303, allocations: 23.98 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.9305, allocations: 54.55 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9305, allocations: 4.594 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.9305, allocations: 4 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.9305, allocations: 1.938 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.9311, allocations: 291.9 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.9312, allocations: 35.23 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.9313, allocations: 25.8 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.9313, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.9314, allocations: 78.17 kB / 1.105 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.9314, allocations: 0 / 1.105 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003276/0.9318, allocations: 93.73 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9318, allocations: 55.39 kB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.932, allocations: 109.5 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.932, allocations: 33.64 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.9321, allocations: 91.19 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.9321, allocations: 19.75 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.9321, allocations: 1.688 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.9323, allocations: 322.8 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.9324, allocations: 16 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.9324, allocations: 37.58 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.9325, allocations: 23.98 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9325, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001935/0.9327, allocations: 89.52 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.9328, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9328, allocations: 7.562 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9328, allocations: 3.875 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.9329, allocations: 15.92 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.9329, allocations: 5.484 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.933, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.933, allocations: 8 kB / 1.105 GB, free: 11.36 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.0001404/0.9332, allocations: 113 kB / 1.106 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001882/0.9334, allocations: 101.5 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.9334, allocations: 4 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.9335, allocations: 8.625 kB / 1.106 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.9335, allocations: 5.219 kB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9335, allocations: 0 / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9335, allocations: 0 / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.9339, allocations: 339 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9339, allocations: 0 / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.934, allocations: 8 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.934, allocations: 0 / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.934, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.934, allocations: 3.938 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-05/0.934, allocations: 3.984 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.9343, allocations: 192.9 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.9343, allocations: 85.02 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.9344, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.9345, allocations: 13.67 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.9345, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.9346, allocations: 8 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.9346, allocations: 98.06 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9346, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003293/0.935, allocations: 43.94 kB / 1.106 GB, free: 10.26 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.0009651/0.9359, allocations: 0.8138 MB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.9361, allocations: 51.92 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9361, allocations: 0 / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.9362, allocations: 24.12 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.9364, allocations: 8 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.9369, allocations: 145 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.9373, allocations: 0.6931 MB / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.9373, allocations: 4.172 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.9374, allocations: 15.44 kB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9374, allocations: 4 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.9601, allocations: 2.185 MB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.9604, allocations: 198.8 kB / 1.11 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.547, allocations: 6.906 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)