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.001354/0.001354, 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.001437/0.001437, allocations: 161 kB / 24.16 MB, free: 332 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 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.846/1.846, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.036e-05, allocations: 5.406 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1262/0.1262, allocations: 136.3 MB / 0.8931 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007175/0.1333, allocations: 7.107 MB / 0.9001 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.1337, allocations: 23.81 kB / 0.9001 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.1342, allocations: 194.5 kB / 0.9003 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1361, allocations: 1.069 MB / 0.9013 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.1383, allocations: 1.215 MB / 0.9025 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1394, allocations: 1.383 MB / 0.9039 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.1398, allocations: 367 kB / 0.9042 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1409, allocations: 0.919 MB / 0.9051 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.1422, allocations: 1.208 MB / 0.9063 GB, free: 488 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.1423, allocations: 56 kB / 0.9063 GB, free: 432 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1438, allocations: 1.299 MB / 0.9076 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1439, allocations: 167.3 kB / 0.9078 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.144, allocations: 251.5 kB / 0.908 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1451, allocations: 1.328 MB / 0.9093 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1451, allocations: 0 / 0.9093 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1451, allocations: 0 / 0.9093 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1451, allocations: 0 / 0.9093 GB, free: 13.38 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.0008926/0.146, allocations: 0.8461 MB / 0.9101 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1461, allocations: 8.031 kB / 0.9101 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.1467, allocations: 228.2 kB / 0.9104 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.147, allocations: 333.2 kB / 0.9107 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1471, allocations: 37.69 kB / 0.9107 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.1471, allocations: 56.38 kB / 0.9108 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.1477, allocations: 0.8304 MB / 0.9116 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1477, allocations: 11.83 kB / 0.9116 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.1478, allocations: 28 kB / 0.9116 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1478, allocations: 12 kB / 0.9116 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.148, allocations: 223.1 kB / 0.9118 GB, free: 10.6 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.001491/0.1495, allocations: 1.901 MB / 0.9137 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1497, allocations: 151.9 kB / 0.9138 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.1498, allocations: 76.81 kB / 0.9139 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002371/0.1521, allocations: 1.372 MB / 0.9152 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1522, allocations: 38.56 kB / 0.9153 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.1522, allocations: 3.938 kB / 0.9153 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.01808/0.1703, allocations: 7.981 MB / 0.9231 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1703, allocations: 133 kB / 0.9232 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1705, allocations: 311.2 kB / 0.9235 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1705, allocations: 41.64 kB / 0.9235 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1706, allocations: 277.3 kB / 0.9238 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.1707, allocations: 182.4 kB / 0.924 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1709, allocations: 106.2 kB / 0.9241 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.171, allocations: 362.7 kB / 0.9244 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1711, allocations: 85.28 kB / 0.9245 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1713, allocations: 293.4 kB / 0.9248 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.1716, allocations: 336.5 kB / 0.9251 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1716, allocations: 4 kB / 0.9251 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006423/0.1723, allocations: 447.4 kB / 0.9255 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1723, allocations: 8 kB / 0.9256 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1723, allocations: 4 kB / 0.9256 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.1726, allocations: 105.9 kB / 0.9257 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.1729, allocations: 127.8 kB / 0.9258 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.1745, allocations: 2.766 MB / 0.9285 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1747, allocations: 28.09 kB / 0.9285 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.1747, allocations: 20 kB / 0.9285 GB, free: 9.035 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.0001311/0.1749, allocations: 144.5 kB / 0.9287 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.175, allocations: 83.45 kB / 0.9287 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.1757, allocations: 475.1 kB / 0.9292 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1757, allocations: 15.92 kB / 0.9292 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1757, allocations: 0 / 0.9292 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1757, allocations: 0 / 0.9292 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1768, allocations: 0.8703 MB / 0.9301 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1768, allocations: 4 kB / 0.9301 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1771, allocations: 107.9 kB / 0.9302 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.1772, allocations: 81.11 kB / 0.9302 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1772, allocations: 8 kB / 0.9303 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007947/0.178, allocations: 1.391 MB / 0.9316 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.178, allocations: 0 / 0.9316 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.1787, allocations: 0.5771 MB / 0.9322 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.1787, allocations: 43.7 kB / 0.9322 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.1788, allocations: 15.94 kB / 0.9322 GB, free: 5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.179, allocations: 19.98 kB / 0.9322 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.179, allocations: 47.86 kB / 0.9323 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.179, allocations: 16.03 kB / 0.9323 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.472e-05/0.1791, allocations: 128.7 kB / 0.9324 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1791, allocations: 0 / 0.9324 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001584/0.1807, allocations: 0.769 MB / 0.9332 GB, free: 4.02 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.002019/0.1827, allocations: 492.7 kB / 0.9337 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006101/0.1834, allocations: 0.5492 MB / 0.9342 GB, free: 2.961 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.1834, allocations: 4 kB / 0.9342 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.1836, allocations: 272 kB / 0.9345 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.1842, allocations: 251.4 kB / 0.9347 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1855, allocations: 1.026 MB / 0.9357 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.913e-05/0.1856, allocations: 137.8 kB / 0.9358 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.1859, allocations: 117.8 kB / 0.9359 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.1863, allocations: 257 kB / 0.9362 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/0.1863, allocations: 0 / 0.9362 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of Templates: time 0.0452/0.2315, allocations: 37.89 MB / 0.9732 GB, free: 11.36 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 -s gbode -gbm=radauIIA3 -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.96168059296906]