Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.848/1.848, allocations: 252 MB / 267.3 MB, free: 10.81 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.001346/0.001346, allocations: 170.7 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.283/3.283, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.001123/0.001124, allocations: 99.44 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005923/0.0005931, allocations: 13.09 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4494, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002739/0.4523, allocations: 1.199 MB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.454, allocations: 0.7642 MB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.4541, allocations: 0 / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.4542, allocations: 7.938 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.4543, allocations: 11.91 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.455, allocations: 103.8 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.4551, allocations: 71.78 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4553, allocations: 4 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4554, allocations: 43.83 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.4555, allocations: 31.84 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.4556, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.4558, allocations: 91.91 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.4559, allocations: 11.92 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.456, allocations: 65.55 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.4563, allocations: 131.6 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4563, allocations: 3.938 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4563, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4563, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 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.0007576/0.4571, allocations: 405.3 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.4572, allocations: 12.03 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.4572, allocations: 34.75 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.4573, allocations: 12.84 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4574, allocations: 176.2 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.4575, allocations: 4.375 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4575, allocations: 8.375 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.4577, allocations: 69.78 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4578, allocations: 3.938 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4578, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4578, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.458, allocations: 47.97 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.4587, allocations: 320.7 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.4589, allocations: 50.56 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.459, allocations: 40.95 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4591, allocations: 7.875 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.4593, allocations: 87.38 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.4593, allocations: 0 / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005113/0.4598, allocations: 137.7 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4599, allocations: 63.39 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.46, allocations: 129.7 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.46, allocations: 29.7 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.4601, allocations: 92.08 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4601, allocations: 15.75 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.4602, allocations: 4 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.4603, allocations: 322.8 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4604, allocations: 27.98 kB / 0.9054 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4605, allocations: 54.55 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4607, allocations: 70.56 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4607, allocations: 7.938 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000286/0.461, allocations: 121.5 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.461, allocations: 4 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4611, allocations: 0 / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4611, allocations: 4 kB / 0.9056 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4612, allocations: 11.98 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4612, allocations: 4.062 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.4613, allocations: 11.98 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4614, allocations: 4 kB / 0.9057 GB, free: 58.05 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4615, allocations: 121.8 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.4615, allocations: 7.844 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.4615, allocations: 16.31 kB / 0.9058 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4616, allocations: 3.938 kB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4616, allocations: 0 / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4616, allocations: 7.984 kB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.4621, allocations: 378.9 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4621, allocations: 0 / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.4622, allocations: 7.984 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4622, allocations: 0 / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4622, allocations: 3.984 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.4622, allocations: 12.02 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4622, allocations: 7.922 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.4626, allocations: 219.4 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.4626, allocations: 84.95 kB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4627, allocations: 0 / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4628, allocations: 15.92 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.4629, allocations: 8 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4629, allocations: 4 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.463, allocations: 91.27 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.463, allocations: 0 / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004534/0.4634, allocations: 39.98 kB / 0.9067 GB, free: 56.94 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008874/0.4643, allocations: 0.8027 MB / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4646, allocations: 83.89 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4646, allocations: 0 / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4648, allocations: 35.98 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.4652, allocations: 15.86 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.467, allocations: 1.534 MB / 0.9091 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.4672, allocations: 0.6848 MB / 0.9097 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.4673, allocations: 7.984 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.4673, allocations: 19.44 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.4673, allocations: 4 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.488, allocations: 2.346 MB / 0.9121 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/0.4884, allocations: 279 kB / 0.9123 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.306, allocations: 0 / 0.9123 GB, free: 51.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)