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.0009313/0.0009312, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 1.885/1.885, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005186/0.0005187, allocations: 15.84 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002007/0.2647, allocations: 1.191 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2662, allocations: 0.7153 MB / 0.7892 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.2663, allocations: 0 / 0.7892 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.2663, allocations: 7.922 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.2664, allocations: 3.938 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.2669, allocations: 99.77 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.267, allocations: 63.78 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.2671, allocations: 11.98 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.2672, allocations: 31.91 kB / 0.7895 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.2673, allocations: 35.84 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2673, allocations: 4 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.2675, allocations: 87.84 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.2675, allocations: 15.97 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.2675, allocations: 33.64 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.2677, allocations: 96.05 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2677, allocations: 4 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2677, allocations: 0 / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2677, allocations: 4 kB / 0.7897 GB, free: 9.402 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.0007545/0.2685, allocations: 408.8 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2685, allocations: 8.031 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.2686, allocations: 38.55 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.2686, allocations: 7.906 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2688, allocations: 178.9 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.2688, allocations: 8 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2688, allocations: 7.984 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.269, allocations: 73.59 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.269, allocations: 0 / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2691, allocations: 0 / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2691, allocations: 7.938 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2692, allocations: 43.97 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.27, allocations: 320.7 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2701, allocations: 54.56 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.2702, allocations: 32.97 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2702, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.2705, allocations: 87.38 kB / 0.7909 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2705, allocations: 4 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.2709, allocations: 145.5 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.271, allocations: 51.41 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.2711, allocations: 125.8 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2712, allocations: 25.7 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.2712, allocations: 96.27 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2713, allocations: 19.8 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.2713, allocations: 3.938 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2714, allocations: 314.8 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.2715, allocations: 39.91 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2716, allocations: 50.56 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.2717, allocations: 31.98 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2717, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000234/0.272, allocations: 125.5 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.272, allocations: 4 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.272, allocations: 400 / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.272, allocations: 4 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.2721, allocations: 11.98 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2721, allocations: 7.891 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.2722, allocations: 8 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2722, allocations: 8 kB / 0.792 GB, free: 6.852 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.0001076/0.2724, allocations: 125.8 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.2724, allocations: 11.89 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2724, allocations: 8.375 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2724, allocations: 4 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2725, allocations: 0 / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2725, allocations: 3.953 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.273, allocations: 390.5 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.273, allocations: 0 / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.273, allocations: 4 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.273, allocations: 0 / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.273, allocations: 3.984 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2731, allocations: 11.89 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2731, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.2734, allocations: 215.4 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2735, allocations: 85 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2736, allocations: 0 / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.2737, allocations: 4 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.2737, allocations: 19.88 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2737, allocations: 4 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.2738, allocations: 99.2 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2738, allocations: 0 / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002964/0.2741, allocations: 36 kB / 0.793 GB, free: 5.75 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.0009317/0.275, allocations: 0.8043 MB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2753, allocations: 83.88 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2753, allocations: 0 / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.2754, allocations: 40.05 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2757, allocations: 11.89 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2768, allocations: 0.61 MB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2771, allocations: 0.6926 MB / 0.7951 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.2771, allocations: 4.188 kB / 0.7951 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.2772, allocations: 23.42 kB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2772, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.2918, allocations: 2.327 MB / 0.7974 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.292, allocations: 245.4 kB / 0.7977 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.218, allocations: 0 / 0.7977 GB, free: 0.9766 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: