Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.0009493/0.0009493, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001044/0.001044, allocations: 162.7 kB / 24.87 MB, free: 8.84 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.9243/0.9243, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.811/1.811, allocations: 377.9 MB / 0.6247 GB, free: 8.363 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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.317e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1124/0.1124, allocations: 134.2 MB / 0.9438 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005803/0.1182, allocations: 5.716 MB / 0.9494 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.1187, allocations: 23.81 kB / 0.9495 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1192, allocations: 194.5 kB / 0.9496 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.1208, allocations: 0.7535 MB / 0.9504 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1226, allocations: 0.9774 MB / 0.9513 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.1239, allocations: 1.364 MB / 0.9527 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.1245, allocations: 370.4 kB / 0.953 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1258, allocations: 0.9462 MB / 0.9539 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.1263, allocations: 402.9 kB / 0.9543 GB, free: 16 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.1264, allocations: 52.05 kB / 0.9544 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1281, allocations: 1.233 MB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1282, allocations: 159.4 kB / 0.9557 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.1284, allocations: 251.4 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1299, allocations: 1.332 MB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1299, allocations: 0 / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1299, allocations: 0 / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1299, allocations: 0 / 0.9573 GB, free: 12.99 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.001078/0.131, allocations: 0.9825 MB / 0.9582 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.131, allocations: 8.031 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.1316, allocations: 235.8 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.132, allocations: 378.8 kB / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1321, allocations: 37.69 kB / 0.9589 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.1321, allocations: 60.31 kB / 0.9589 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.1328, allocations: 0.8547 MB / 0.9597 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1328, allocations: 7.891 kB / 0.9598 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.1328, allocations: 24 kB / 0.9598 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1328, allocations: 12 kB / 0.9598 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1331, allocations: 218.6 kB / 0.96 GB, free: 9.98 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.007027/0.1401, allocations: 5.339 MB / 0.9652 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1403, allocations: 95.72 kB / 0.9653 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1403, allocations: 48.12 kB / 0.9653 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/0.1427, allocations: 1.313 MB / 0.9666 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1427, allocations: 45.56 kB / 0.9667 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=27): time 2.285e-06/0.1427, allocations: 0 / 0.9667 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.01741/0.1601, allocations: 7.034 MB / 0.9735 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1602, allocations: 136.5 kB / 0.9737 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1604, allocations: 386.3 kB / 0.974 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1604, allocations: 37.64 kB / 0.9741 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1606, allocations: 375.1 kB / 0.9744 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.1607, allocations: 146.8 kB / 0.9746 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1608, allocations: 111.9 kB / 0.9747 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1609, allocations: 0.5273 MB / 0.9752 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.161, allocations: 69.27 kB / 0.9753 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.1612, allocations: 392.3 kB / 0.9756 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1616, allocations: 395.5 kB / 0.976 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1616, allocations: 0 / 0.976 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007338/0.1623, allocations: 0.5018 MB / 0.9765 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1624, allocations: 11.98 kB / 0.9765 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1624, allocations: 4 kB / 0.9765 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.1627, allocations: 107.3 kB / 0.9766 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1629, allocations: 111.8 kB / 0.9767 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.1649, allocations: 4.034 MB / 0.9807 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1651, allocations: 24 kB / 0.9807 GB, free: 4.109 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1651, allocations: 23.98 kB / 0.9807 GB, free: 4.086 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0001591/0.1653, allocations: 192.5 kB / 0.9809 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1655, allocations: 75.59 kB / 0.981 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.1661, allocations: 0.5172 MB / 0.9815 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1661, allocations: 4 kB / 0.9815 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.1661, allocations: 0 / 0.9815 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1661, allocations: 0 / 0.9815 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1673, allocations: 1.056 MB / 0.9825 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1673, allocations: 4.562 kB / 0.9825 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1674, allocations: 55.91 kB / 0.9826 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.1676, allocations: 75.61 kB / 0.9826 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1676, allocations: 12 kB / 0.9827 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1687, allocations: 2.06 MB / 0.9847 GB, free: 15.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1687, allocations: 7.938 kB / 0.9847 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.1694, allocations: 0.5998 MB / 0.9853 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.1694, allocations: 35.7 kB / 0.9853 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.1694, allocations: 19.98 kB / 0.9853 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1696, allocations: 16 kB / 0.9853 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1697, allocations: 35.83 kB / 0.9854 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1697, allocations: 23.92 kB / 0.9854 GB, free: 14.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001306/0.1698, allocations: 255 kB / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1698, allocations: 0 / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001864/0.1717, allocations: 0.7066 MB / 0.9863 GB, free: 13.95 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (29): * Single equations (assignments): 28 * 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.002147/0.1738, allocations: 430.6 kB / 0.9867 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007055/0.1745, allocations: 0.625 MB / 0.9873 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1745, allocations: 0 / 0.9873 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1747, allocations: 278.6 kB / 0.9876 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.1754, allocations: 224.2 kB / 0.9878 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1766, allocations: 1.055 MB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.1767, allocations: 137.5 kB / 0.989 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.1769, allocations: 82.17 kB / 0.9891 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.1773, allocations: 266 kB / 0.9893 GB, free: 10.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/0.1773, allocations: 0 / 0.9893 GB, free: 10.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04023/0.2175, allocations: 35.54 MB / 1.024 GB, free: 7.57 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.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.295132724102587]