Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.433/1.433, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0008595/0.0008595, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.132/1.132, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006843/0.0006843, allocations: 94.84 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 15.77 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0008754/0.1401, allocations: 0.9433 MB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1414, allocations: 1.18 MB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.1414, allocations: 0 / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.1414, allocations: 3.938 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1419, allocations: 159.6 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.993e-05/0.142, allocations: 38.08 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.51e-05/0.142, allocations: 11.98 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1421, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.1421, allocations: 7.938 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1422, allocations: 15.98 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1423, allocations: 4 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.1425, allocations: 223.6 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.1425, allocations: 3.984 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1426, allocations: 29.7 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1427, allocations: 139.8 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1427, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1427, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.1428, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002599/0.143, allocations: 379.8 kB / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1431, allocations: 8.031 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.1431, allocations: 114 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1431, allocations: 88.06 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.1432, allocations: 239.7 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1432, allocations: 150.9 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1432, allocations: 150.9 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.275e-05/0.1433, allocations: 108.9 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1433, allocations: 79.28 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1433, allocations: 154.6 kB / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1433, allocations: 154.5 kB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.1434, allocations: 154.5 kB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1435, allocations: 449.9 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.1435, allocations: 173.1 kB / 0.9852 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/0.1436, allocations: 80.14 kB / 0.9853 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1436, allocations: 79.27 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1436, allocations: 113.8 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1436, allocations: 0 / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.426e-05/0.1437, allocations: 41.69 kB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1437, allocations: 203.8 kB / 0.9857 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.1438, allocations: 93.86 kB / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1438, allocations: 25.7 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.902e-05/0.1438, allocations: 88.14 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.1438, allocations: 0 / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1438, allocations: 0 / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.1439, allocations: 314.8 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.1439, allocations: 4 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.1439, allocations: 18.58 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-06/0.1439, allocations: 75.28 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1439, allocations: 79.22 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.325e-05/0.144, allocations: 33.64 kB / 0.9864 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.144, allocations: 79.28 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.144, allocations: 79.27 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.144, allocations: 166.5 kB / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-06/0.144, allocations: 75.28 kB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1441, allocations: 154.5 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1442, allocations: 79.28 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1442, allocations: 75.28 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.78e-05/0.1443, allocations: 268.4 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.1443, allocations: 112.9 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.1443, allocations: 108.1 kB / 0.9875 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.1444, allocations: 180.2 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.1444, allocations: 176.3 kB / 0.9879 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.1444, allocations: 184.2 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1445, allocations: 405.2 kB / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.1445, allocations: 120.8 kB / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1446, allocations: 104.9 kB / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.1446, allocations: 180.3 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1446, allocations: 176.3 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.1446, allocations: 192.1 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.1446, allocations: 176.3 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.133e-05/0.1447, allocations: 308.1 kB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.1447, allocations: 194 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1448, allocations: 184.2 kB / 0.99 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1449, allocations: 105 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.1449, allocations: 180.2 kB / 0.9902 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1449, allocations: 113 kB / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.884e-05/0.1449, allocations: 75.28 kB / 0.9904 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1449, allocations: 0 / 0.9904 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003164/0.1453, allocations: 75.98 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000608/0.1459, allocations: 1.046 MB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.329e-05/0.1459, allocations: 0 / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1459, allocations: 0 / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1459, allocations: 8 kB / 0.9915 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1462, allocations: 0.5208 MB / 0.992 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.1466, allocations: 0.5542 MB / 0.9926 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.675e-05/0.1467, allocations: 0.6692 MB / 0.9932 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.1467, allocations: 4 kB / 0.9932 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.1467, allocations: 19.42 kB / 0.9933 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1467, allocations: 0 / 0.9933 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.523/2.67, allocations: 2.814 MB / 0.996 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/2.67, allocations: 267.8 kB / 0.9963 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/5.346, allocations: 4 kB / 0.9963 GB, free: 10.31 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)