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.001002/0.001002, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001326/0.001326, allocations: 164.9 kB / 24.87 MB, free: 8.891 MB / 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.9721/0.9721, allocations: 177.2 MB / 205.3 MB, free: 5.48 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.808/1.808, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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 2.114e-06/2.114e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.112e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1218/0.1219, allocations: 134.2 MB / 0.9439 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007012/0.1289, allocations: 7.024 MB / 0.9507 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1294, allocations: 23.81 kB / 0.9508 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.13, allocations: 202.4 kB / 0.9509 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.132, allocations: 1.119 MB / 0.952 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1343, allocations: 1.32 MB / 0.9533 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1356, allocations: 1.372 MB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.136, allocations: 378.3 kB / 0.955 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1372, allocations: 0.919 MB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.1389, allocations: 1.223 MB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.139, allocations: 52 kB / 0.9572 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1406, allocations: 1.229 MB / 0.9584 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1407, allocations: 159.3 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1409, allocations: 251.5 kB / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1424, allocations: 1.336 MB / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1424, allocations: 0 / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1424, allocations: 0 / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1424, allocations: 0 / 0.9601 GB, free: 10.12 MB / 0.9167 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.001129/0.1435, allocations: 0.9825 MB / 0.961 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1436, allocations: 8.031 kB / 0.961 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.1442, allocations: 231.9 kB / 0.9613 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.1446, allocations: 390.6 kB / 0.9616 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1446, allocations: 37.69 kB / 0.9617 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.1447, allocations: 56.38 kB / 0.9617 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.1454, allocations: 0.8586 MB / 0.9626 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1454, allocations: 7.875 kB / 0.9626 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.1454, allocations: 28 kB / 0.9626 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1454, allocations: 16 kB / 0.9626 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1457, allocations: 218.6 kB / 0.9628 GB, free: 7.094 MB / 0.9167 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.001918/0.1476, allocations: 2.67 MB / 0.9654 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1479, allocations: 174.8 kB / 0.9656 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.1479, allocations: 83.58 kB / 0.9657 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/0.1508, allocations: 1.391 MB / 0.967 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1508, allocations: 45.33 kB / 0.9671 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.1508, allocations: 0 / 0.9671 GB, free: 2.621 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.02196/0.1727, allocations: 7.91 MB / 0.9748 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1728, allocations: 141 kB / 0.9749 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1731, allocations: 370.5 kB / 0.9753 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.1731, allocations: 33.7 kB / 0.9753 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1733, allocations: 347.4 kB / 0.9756 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1734, allocations: 198.3 kB / 0.9758 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1735, allocations: 108 kB / 0.9759 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1737, allocations: 0.5312 MB / 0.9765 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1738, allocations: 101.2 kB / 0.9766 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.1741, allocations: 362.6 kB / 0.9769 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1744, allocations: 385.3 kB / 0.9773 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1744, allocations: 0 / 0.9773 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007688/0.1752, allocations: 0.5587 MB / 0.9778 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1752, allocations: 14.44 kB / 0.9778 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1752, allocations: 7.938 kB / 0.9778 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.1755, allocations: 119.3 kB / 0.9779 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1758, allocations: 123.8 kB / 0.9781 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.1778, allocations: 4.03 MB / 0.982 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.1781, allocations: 27.98 kB / 0.982 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1781, allocations: 28.05 kB / 0.9821 GB, free: 2.785 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.0001754/0.1783, allocations: 188.5 kB / 0.9822 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.1785, allocations: 95.3 kB / 0.9823 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/0.1792, allocations: 0.5607 MB / 0.9829 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1792, allocations: 8.031 kB / 0.9829 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1792, allocations: 0 / 0.9829 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1793, allocations: 3.984 kB / 0.9829 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1807, allocations: 1.127 MB / 0.984 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1807, allocations: 4.344 kB / 0.984 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.1809, allocations: 99.88 kB / 0.9841 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.1811, allocations: 63.62 kB / 0.9841 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1811, allocations: 16 kB / 0.9842 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009784/0.1821, allocations: 2.044 MB / 0.9862 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1821, allocations: 8.078 kB / 0.9862 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000788/0.1829, allocations: 0.74 MB / 0.9869 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1829, allocations: 47.58 kB / 0.9869 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.183, allocations: 16 kB / 0.9869 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1832, allocations: 19.98 kB / 0.987 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.1832, allocations: 43.88 kB / 0.987 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.1833, allocations: 23.92 kB / 0.987 GB, free: 13.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00013/0.1834, allocations: 247 kB / 0.9873 GB, free: 13.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1834, allocations: 0 / 0.9873 GB, free: 13.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002017/0.1854, allocations: 0.7613 MB / 0.988 GB, free: 12.36 MB / 0.948 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.002555/0.188, allocations: 482.6 kB / 0.9885 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008412/0.1888, allocations: 0.6825 MB / 0.9891 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1888, allocations: 0 / 0.9891 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1891, allocations: 335.6 kB / 0.9895 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1899, allocations: 265.5 kB / 0.9897 GB, free: 10.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1914, allocations: 1.076 MB / 0.9908 GB, free: 9.402 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.1915, allocations: 138 kB / 0.9909 GB, free: 9.246 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.1918, allocations: 111.9 kB / 0.991 GB, free: 9.148 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.1922, allocations: 302 kB / 0.9913 GB, free: 8.852 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/0.1922, allocations: 0 / 0.9913 GB, free: 8.852 MB / 0.948 GB Notification: Performance of Templates: time 0.04549/0.2377, allocations: 39.44 MB / 1.03 GB, free: 1.879 MB / 0.9792 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: 9.573071138933301]