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.348/1.348, allocations: 252 MB / 267 MB, free: 10.97 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.001027/0.001027, allocations: 180.6 kB / 326.6 MB, free: 2.223 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.806/1.806, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008209/0.0008207, allocations: 87.89 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 9.562 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.279, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001861/0.281, allocations: 1.192 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2823, allocations: 0.7295 MB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.2824, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.2824, allocations: 3.938 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.2825, allocations: 7.938 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.283, allocations: 95.75 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.2831, allocations: 71.72 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2832, allocations: 11.98 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.2833, allocations: 31.91 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.2833, allocations: 35.83 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2834, allocations: 4 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.2835, allocations: 79.92 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.2836, allocations: 19.91 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.2836, allocations: 37.7 kB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2838, allocations: 91.83 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2838, allocations: 7.938 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2838, allocations: 0 / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2838, allocations: 0 / 0.9026 GB, free: 61.39 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.0005697/0.2844, allocations: 405.1 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2844, allocations: 8.031 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.2845, allocations: 38.56 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2845, allocations: 15.86 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2846, allocations: 170.9 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.2847, allocations: 8 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.2847, allocations: 8 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2849, allocations: 69.59 kB / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2849, allocations: 0 / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2849, allocations: 0 / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2849, allocations: 4 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.2851, allocations: 47.91 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.2856, allocations: 312.8 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2858, allocations: 54.56 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.2859, allocations: 32.97 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2859, allocations: 7.984 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.2861, allocations: 83.39 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2861, allocations: 3.938 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.00038/0.2865, allocations: 153.5 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2865, allocations: 55.41 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.2866, allocations: 117.8 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2866, allocations: 33.69 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.2867, allocations: 92.23 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.2867, allocations: 11.84 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.2867, allocations: 4 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2868, allocations: 322.8 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.2869, allocations: 27.92 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.287, allocations: 54.55 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.287, allocations: 36.3 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2871, allocations: 0 / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002054/0.2873, allocations: 121.5 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2873, allocations: 4 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2873, allocations: 4 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2873, allocations: 3.953 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.2874, allocations: 15.92 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2874, allocations: 4 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.2875, allocations: 15.89 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2875, allocations: 8 kB / 0.9049 GB, free: 58.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.2876, allocations: 120.2 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2877, allocations: 4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2877, allocations: 12.36 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2877, allocations: 0 / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2877, allocations: 3.953 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2877, allocations: 7.984 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.2881, allocations: 382.4 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2881, allocations: 3.984 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.2881, allocations: 8 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2882, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2882, allocations: 7.953 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2882, allocations: 0 / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2882, allocations: 0 / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2884, allocations: 215.4 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2884, allocations: 81.05 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2885, allocations: 0 / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.2886, allocations: 19.94 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.2886, allocations: 3.938 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2886, allocations: 15.98 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.2887, allocations: 87.28 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2887, allocations: 0 / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002527/0.2889, allocations: 43.92 kB / 0.9059 GB, free: 57.75 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 (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.0006835/0.2896, allocations: 0.8064 MB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.2899, allocations: 80.28 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2899, allocations: 0 / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.29, allocations: 35.98 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2902, allocations: 15.88 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.2911, allocations: 0.6146 MB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2912, allocations: 0.6848 MB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2913, allocations: 8.172 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.2913, allocations: 19.44 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2913, allocations: 0 / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.3052, allocations: 2.343 MB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.3056, allocations: 255.7 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.166, allocations: 3.938 kB / 0.9106 GB, free: 52.91 MB / 0.6042 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)