Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9793/0.9793, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.103e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1348/0.1348, allocations: 159.2 MB / 0.967 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008298/0.1431, allocations: 8.923 MB / 0.9757 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.1435, allocations: 23.81 kB / 0.9757 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.1444, allocations: 333.7 kB / 0.9761 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.1462, allocations: 1.166 MB / 0.9772 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.1497, allocations: 2.173 MB / 0.9793 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1509, allocations: 1.403 MB / 0.9807 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.1513, allocations: 382.3 kB / 0.9811 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.1551, allocations: 2.419 MB / 0.9834 GB, free: 348 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.1567, allocations: 1.22 MB / 0.9846 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.1568, allocations: 52 kB / 0.9847 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.1601, allocations: 2.797 MB / 0.9874 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1602, allocations: 163.4 kB / 0.9875 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1604, allocations: 259.4 kB / 0.9878 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.1624, allocations: 2.397 MB / 0.9901 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1624, allocations: 4 kB / 0.9901 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1624, allocations: 4 kB / 0.9901 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1624, allocations: 0 / 0.9901 GB, free: 9.445 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001215/0.1636, allocations: 1.052 MB / 0.9912 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1636, allocations: 8.031 kB / 0.9912 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.1643, allocations: 239.1 kB / 0.9914 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1647, allocations: 382.2 kB / 0.9918 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1648, allocations: 41.31 kB / 0.9918 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.1648, allocations: 56 kB / 0.9919 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.1656, allocations: 0.9513 MB / 0.9928 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1656, allocations: 0 / 0.9928 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.1656, allocations: 28 kB / 0.9928 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1657, allocations: 16 kB / 0.9928 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.166, allocations: 273.6 kB / 0.9931 GB, free: 6.199 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.168, allocations: 2.763 MB / 0.9958 GB, free: 3.336 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.1682, allocations: 192.9 kB / 0.996 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1684, allocations: 95.64 kB / 0.9961 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008344/0.1767, allocations: 4.969 MB / 1.001 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1767, allocations: 41.39 kB / 1.001 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.774e-06/0.1767, allocations: 0 / 1.001 GB, free: 14.02 MB / 0.9167 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.03872/0.2155, allocations: 17.57 MB / 1.018 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.2155, allocations: 141 kB / 1.018 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.2159, allocations: 366.7 kB / 1.019 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.216, allocations: 37.7 kB / 1.019 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2161, allocations: 355.4 kB / 1.019 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2162, allocations: 186.4 kB / 1.019 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2164, allocations: 115.9 kB / 1.019 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2165, allocations: 0.5235 MB / 1.02 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2167, allocations: 133.2 kB / 1.02 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.217, allocations: 386.8 kB / 1.02 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.2174, allocations: 445.4 kB / 1.021 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2174, allocations: 4 kB / 1.021 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008607/0.2183, allocations: 0.6092 MB / 1.021 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2183, allocations: 8 kB / 1.021 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2183, allocations: 7.938 kB / 1.021 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.2186, allocations: 115.7 kB / 1.021 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2189, allocations: 123.8 kB / 1.022 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.2211, allocations: 4.095 MB / 1.026 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.2213, allocations: 27.97 kB / 1.026 GB, free: 4.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2213, allocations: 24 kB / 1.026 GB, free: 4.297 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.2215, allocations: 188.5 kB / 1.026 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2216, allocations: 95.3 kB / 1.026 GB, free: 4.008 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/0.2225, allocations: 0.6148 MB / 1.026 GB, free: 3.375 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2225, allocations: 8.031 kB / 1.026 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2225, allocations: 0 / 1.026 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2225, allocations: 0 / 1.026 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.2239, allocations: 1.239 MB / 1.028 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2239, allocations: 4 kB / 1.028 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.2242, allocations: 91.89 kB / 1.028 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.2243, allocations: 71.97 kB / 1.028 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.2244, allocations: 19.98 kB / 1.028 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3569/0.5812, allocations: 2.052 MB / 1.03 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5812, allocations: 6.281 kB / 1.03 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.5825, allocations: 0.7968 MB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.5825, allocations: 45.77 kB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.5826, allocations: 12.81 kB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.5828, allocations: 23.44 kB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.5829, allocations: 44.28 kB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.583, allocations: 26.06 kB / 1.031 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001932/0.5831, allocations: 259.8 kB / 1.031 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.5831, allocations: 1.156 kB / 1.031 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003942/0.5871, allocations: 1.397 MB / 1.032 GB, free: 219.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005002/0.5921, allocations: 0.8368 MB / 1.033 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.5931, allocations: 0.73 MB / 1.034 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5932, allocations: 5.359 kB / 1.034 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.5935, allocations: 352.9 kB / 1.034 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.5943, allocations: 239.5 kB / 1.035 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.5959, allocations: 1.079 MB / 1.036 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.596, allocations: 139.1 kB / 1.036 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.5964, allocations: 119 kB / 1.036 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5965, allocations: 61.67 kB / 1.036 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/0.5965, allocations: 0 / 1.036 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.06474/0.6612, allocations: 64.5 MB / 1.099 GB, free: 176.4 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.250058223027736]