Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.148/3.148, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.866/2.866, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 18.45 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5289, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.004023/0.5331, allocations: 1.183 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.5358, allocations: 0.7232 MB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.5359, allocations: 0 / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.536, allocations: 3.938 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.5361, allocations: 11.91 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.5371, allocations: 91.77 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.5373, allocations: 47.88 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.5375, allocations: 11.97 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.5377, allocations: 31.92 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.5378, allocations: 35.83 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.5379, allocations: 4 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.5382, allocations: 67.88 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.5383, allocations: 15.97 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.5384, allocations: 37.64 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.5387, allocations: 96.05 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5388, allocations: 4 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5388, allocations: 0 / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5388, allocations: 0 / 0.7895 GB, free: 9.496 MB / 0.6075 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.00127/0.5401, allocations: 408.8 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.388e-05/0.5402, allocations: 8.031 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/0.5403, allocations: 38.56 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.5404, allocations: 7.906 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.5407, allocations: 182.8 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.5408, allocations: 8 kB / 0.7901 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.5408, allocations: 4 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.5412, allocations: 69.66 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5413, allocations: 0 / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.5413, allocations: 4 kB / 0.7902 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.5413, allocations: 4 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.5416, allocations: 39.97 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.543, allocations: 324.6 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.5433, allocations: 50.56 kB / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.5433, allocations: 3.984 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.5438, allocations: 79.58 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.747e-06/0.5438, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0008416/0.5446, allocations: 157.5 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.5448, allocations: 55.36 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.545, allocations: 121.8 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.5451, allocations: 29.7 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5452, allocations: 96.25 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.5453, allocations: 11.81 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.5453, allocations: 4 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.5456, allocations: 318.8 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5458, allocations: 27.98 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.546, allocations: 54.55 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.5462, allocations: 32.3 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5462, allocations: 7.938 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005012/0.5467, allocations: 121.5 kB / 0.7917 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.5468, allocations: 8 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5468, allocations: 3.938 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.5469, allocations: 0 / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.5471, allocations: 19.92 kB / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.5471, allocations: 3.953 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.5473, allocations: 12.05 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5473, allocations: 4 kB / 0.7917 GB, free: 6.98 MB / 0.6075 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.0001954/0.5475, allocations: 121.8 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.5476, allocations: 7.906 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.5476, allocations: 12.38 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5476, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5477, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5477, allocations: 11.94 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.5486, allocations: 378.5 kB / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5486, allocations: 4 kB / 0.7922 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.5487, allocations: 7.984 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.5487, allocations: 0 / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5487, allocations: 0 / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-06/0.5487, allocations: 7.953 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5488, allocations: 0 / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.5494, allocations: 219.3 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.5495, allocations: 85.02 kB / 0.7926 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.5495, allocations: 0 / 0.7926 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5497, allocations: 15.98 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.5498, allocations: 7.953 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5499, allocations: 0 / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001196/0.55, allocations: 91.27 kB / 0.7927 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.042e-06/0.55, allocations: 0 / 0.7927 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005808/0.5506, allocations: 43.98 kB / 0.7927 GB, free: 5.887 MB / 0.6075 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.001533/0.5521, allocations: 0.8133 MB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.5526, allocations: 80.23 kB / 0.7936 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5526, allocations: 3.938 kB / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.5529, allocations: 35.98 kB / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5532, allocations: 18.38 kB / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.5547, allocations: 0.7228 MB / 0.7943 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.5553, allocations: 0.6926 MB / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.969e-05/0.5554, allocations: 8.172 kB / 0.795 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.5555, allocations: 15.44 kB / 0.795 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.5555, allocations: 0 / 0.795 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.5836, allocations: 2.302 MB / 0.7973 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003907/0.5841, allocations: 242.4 kB / 0.7975 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/3.787, allocations: 0 / 0.7975 GB, free: 1.043 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) Environment - environmentSimulation: