Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000941/0.000941, allocations: 194 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.1 MB / 222 MB, free: 4.777 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.49/1.49, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001432/0.001432, allocations: 65.11 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.16, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001905/0.1619, allocations: 1.274 MB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1635, allocations: 1.262 MB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.1635, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1635, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0004644/0.164, allocations: 159.6 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.984e-05/0.1641, allocations: 43.62 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.1641, allocations: 23.88 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.1642, allocations: 0 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.1642, allocations: 7.984 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1643, allocations: 24.56 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1644, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.1647, allocations: 231.7 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1647, allocations: 8 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1647, allocations: 11.92 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.165, allocations: 207.7 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.165, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.21e-07/0.165, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.165, allocations: 0 / 0.786 GB, free: 10.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003627/0.1654, allocations: 391.7 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1654, allocations: 11.97 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1655, allocations: 114 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1655, allocations: 80.22 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1656, allocations: 235.7 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.1657, allocations: 154.9 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1657, allocations: 158.9 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.242e-05/0.1658, allocations: 104.9 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1658, allocations: 75.28 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.1659, allocations: 154.6 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.1659, allocations: 150.6 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.166, allocations: 154.5 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.1662, allocations: 449.9 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.913e-05/0.1663, allocations: 169.1 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.1663, allocations: 84.19 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1663, allocations: 79.22 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.1664, allocations: 117.8 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1664, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.987e-05/0.1665, allocations: 25.7 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.1665, allocations: 207.8 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.1666, allocations: 97.84 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1666, allocations: 29.7 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.1667, allocations: 84.14 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.1667, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.1667, allocations: 13.72 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.1668, allocations: 310.8 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.1668, allocations: 0 / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.1668, allocations: 26.56 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.1669, allocations: 79.28 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.1669, allocations: 79.22 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.152e-05/0.167, allocations: 33.64 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.167, allocations: 79.28 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.167, allocations: 79.28 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.485e-05/0.1671, allocations: 162.4 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.1671, allocations: 79.27 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.089e-05/0.1671, allocations: 154.5 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1673, allocations: 79.28 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1674, allocations: 83.22 kB / 0.7902 GB, free: 6.09 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1675, allocations: 260.4 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.1675, allocations: 116.8 kB / 0.7905 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.1676, allocations: 108.1 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.1676, allocations: 180.2 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.543e-05/0.1677, allocations: 180.3 kB / 0.791 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/0.1678, allocations: 176.3 kB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.168, allocations: 409.2 kB / 0.7915 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.168, allocations: 108.9 kB / 0.7916 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1681, allocations: 113.2 kB / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.786e-05/0.1681, allocations: 184.2 kB / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.1682, allocations: 176.3 kB / 0.7921 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-05/0.1683, allocations: 180.2 kB / 0.7923 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.304e-05/0.1683, allocations: 184.6 kB / 0.7924 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1684, allocations: 315.8 kB / 0.7927 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1685, allocations: 182 kB / 0.7929 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.1686, allocations: 180.2 kB / 0.7931 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1687, allocations: 113 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1688, allocations: 184.2 kB / 0.7934 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1688, allocations: 105 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.1688, allocations: 75.28 kB / 0.7935 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 0 / 0.7935 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003495/0.1692, allocations: 79.97 kB / 0.7936 GB, free: 2.328 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: 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 (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.0008432/0.17, allocations: 1.028 MB / 0.7946 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.29e-05/0.1701, allocations: 4 kB / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1701, allocations: 0 / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1701, allocations: 0 / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1704, allocations: 0.5298 MB / 0.7951 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1715, allocations: 1.596 MB / 0.7967 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.1717, allocations: 0.6692 MB / 0.7973 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.1717, allocations: 7.984 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.1717, allocations: 19.38 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.1717, allocations: 0 / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1849, allocations: 2.914 MB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.1852, allocations: 265.4 kB / 0.8005 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.884, allocations: 1.375 kB / 0.8005 GB, free: 11.32 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)