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.0008063/0.0008063, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008509/0.0008509, allocations: 161 kB / 24.17 MB, free: 328 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.9275/0.9275, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.777/1.777, allocations: 377.9 MB / 0.624 GB, free: 8.305 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.723e-06/1.723e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.995e-05, allocations: 7.594 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1309/0.1309, allocations: 136.2 MB / 0.893 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.1373, allocations: 7.11 MB / 0.9 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.1375, allocations: 19.81 kB / 0.9 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.1381, allocations: 198.4 kB / 0.9002 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.1396, allocations: 1.131 MB / 0.9013 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.1413, allocations: 1.309 MB / 0.9026 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.1422, allocations: 1.383 MB / 0.9039 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.1425, allocations: 375 kB / 0.9043 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.1435, allocations: 0.9113 MB / 0.9052 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.1448, allocations: 1.212 MB / 0.9064 GB, free: 376 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.1449, allocations: 52 kB / 0.9064 GB, free: 324 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.1463, allocations: 1.229 MB / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1464, allocations: 167.4 kB / 0.9078 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1465, allocations: 251.4 kB / 0.908 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1475, allocations: 1.332 MB / 0.9093 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1475, allocations: 3.938 kB / 0.9093 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1475, allocations: 0 / 0.9093 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1476, allocations: 0 / 0.9093 GB, free: 13.34 MB / 0.8698 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.0008478/0.1484, allocations: 0.8422 MB / 0.9101 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.1484, allocations: 12.03 kB / 0.9101 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.149, allocations: 224.2 kB / 0.9104 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1493, allocations: 333.2 kB / 0.9107 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1493, allocations: 37.69 kB / 0.9107 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.1494, allocations: 60.38 kB / 0.9108 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.1499, allocations: 0.8266 MB / 0.9116 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1499, allocations: 11.83 kB / 0.9116 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.15, allocations: 24 kB / 0.9116 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.15, allocations: 12 kB / 0.9116 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1502, allocations: 219.2 kB / 0.9118 GB, free: 10.57 MB / 0.8698 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.001407/0.1516, allocations: 1.901 MB / 0.9137 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1518, allocations: 150.5 kB / 0.9138 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.1519, allocations: 76.81 kB / 0.9139 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/0.1542, allocations: 1.372 MB / 0.9152 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1542, allocations: 46.48 kB / 0.9153 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.1542, allocations: 0 / 0.9153 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.01692/0.1712, allocations: 7.981 MB / 0.9231 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1712, allocations: 133 kB / 0.9232 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1714, allocations: 315.2 kB / 0.9235 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1714, allocations: 37.7 kB / 0.9235 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1715, allocations: 273.3 kB / 0.9238 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.1716, allocations: 182.4 kB / 0.924 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1717, allocations: 114.2 kB / 0.9241 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.1718, allocations: 362.7 kB / 0.9244 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.1719, allocations: 81.28 kB / 0.9245 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1721, allocations: 301.3 kB / 0.9248 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1724, allocations: 332.5 kB / 0.9251 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1724, allocations: 4 kB / 0.9251 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005632/0.1729, allocations: 443.4 kB / 0.9255 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1729, allocations: 11.98 kB / 0.9256 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1729, allocations: 4 kB / 0.9256 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.1732, allocations: 101.9 kB / 0.9257 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.1735, allocations: 119.8 kB / 0.9258 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.1751, allocations: 2.77 MB / 0.9285 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1753, allocations: 23.98 kB / 0.9285 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1754, allocations: 20 kB / 0.9285 GB, free: 9.008 MB / 0.8855 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.000137/0.1755, allocations: 144.5 kB / 0.9287 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1756, allocations: 83.47 kB / 0.9287 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.1762, allocations: 479.3 kB / 0.9292 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1762, allocations: 7.938 kB / 0.9292 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1762, allocations: 0 / 0.9292 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1762, allocations: 128 / 0.9292 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1773, allocations: 0.8743 MB / 0.9301 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1773, allocations: 4 kB / 0.9301 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1775, allocations: 87.89 kB / 0.9301 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.1776, allocations: 76.69 kB / 0.9302 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.1777, allocations: 20.23 kB / 0.9302 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000713/0.1784, allocations: 1.383 MB / 0.9316 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1784, allocations: 4 kB / 0.9316 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.179, allocations: 0.573 MB / 0.9321 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.1791, allocations: 47.69 kB / 0.9322 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.1792, allocations: 19.94 kB / 0.9322 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1793, allocations: 15.98 kB / 0.9322 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.1794, allocations: 43.88 kB / 0.9323 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1794, allocations: 19.98 kB / 0.9323 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.319e-05/0.1795, allocations: 132.7 kB / 0.9324 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 4.031 kB / 0.9324 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001704/0.1812, allocations: 0.7612 MB / 0.9332 GB, free: 4.008 MB / 0.8855 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 (46): * Single equations (assignments): 45 * 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.001952/0.1832, allocations: 489.6 kB / 0.9336 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.1838, allocations: 0.5486 MB / 0.9342 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.1838, allocations: 8 kB / 0.9342 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.184, allocations: 269.1 kB / 0.9344 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.1846, allocations: 252.5 kB / 0.9347 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.186, allocations: 1.024 MB / 0.9357 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.1861, allocations: 130 kB / 0.9358 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000266/0.1863, allocations: 112.9 kB / 0.9359 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.1867, allocations: 265 kB / 0.9362 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.1867, allocations: 3.938 kB / 0.9362 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of Templates: time 0.04346/0.2302, allocations: 37.89 MB / 0.9732 GB, free: 11.35 MB / 0.9323 GB " [Timeout remaining time 300] 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: 5.80298243323341]