Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001002/0.001002, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009597/0.0009597, allocations: 169 kB / 23.82 MB, free: 0.7422 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.903/0.903, allocations: 177.1 MB / 204.2 MB, free: 5.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.92e-05, allocations: 5.859 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1498/0.1498, allocations: 136.8 MB / 0.9207 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00605/0.1559, allocations: 5.77 MB / 0.9263 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.1562, allocations: 23.81 kB / 0.9263 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.1569, allocations: 194.5 kB / 0.9265 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.1584, allocations: 0.7457 MB / 0.9272 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.16, allocations: 0.9813 MB / 0.9282 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.161, allocations: 1.371 MB / 0.9295 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.1615, allocations: 370.4 kB / 0.9299 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.1628, allocations: 0.9423 MB / 0.9308 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.1633, allocations: 390.8 kB / 0.9312 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.1633, allocations: 52 kB / 0.9312 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.1648, allocations: 1.233 MB / 0.9324 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.165, allocations: 163.4 kB / 0.9326 GB, free: 7 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1652, allocations: 263.4 kB / 0.9328 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1667, allocations: 1.332 MB / 0.9341 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1667, allocations: 0 / 0.9341 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1667, allocations: 0 / 0.9341 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1667, allocations: 0 / 0.9341 GB, free: 5.406 MB / 0.8855 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.001342/0.1681, allocations: 0.9787 MB / 0.9351 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1681, allocations: 8.031 kB / 0.9351 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.1688, allocations: 235.8 kB / 0.9353 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.1693, allocations: 382.7 kB / 0.9357 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1693, allocations: 37.69 kB / 0.9357 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.1694, allocations: 68.31 kB / 0.9358 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.1703, allocations: 0.944 MB / 0.9367 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1703, allocations: 3.938 kB / 0.9367 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.1703, allocations: 24 kB / 0.9367 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1704, allocations: 16 kB / 0.9367 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1707, allocations: 261.6 kB / 0.937 GB, free: 2.25 MB / 0.8855 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.008678/0.1794, allocations: 6.107 MB / 0.943 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1797, allocations: 103.7 kB / 0.9431 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1798, allocations: 68.77 kB / 0.9431 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/0.1827, allocations: 1.618 MB / 0.9447 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1827, allocations: 45.56 kB / 0.9447 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.1827, allocations: 0 / 0.9447 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40): time 0.02109/0.2038, allocations: 8.919 MB / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.2039, allocations: 136.5 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2042, allocations: 386.6 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2042, allocations: 41.7 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2044, allocations: 371.2 kB / 0.9544 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.2045, allocations: 150.7 kB / 0.9545 GB, free: 108 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2046, allocations: 108 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003728/0.205, allocations: 0.5195 MB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2051, allocations: 97.25 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.2054, allocations: 416.2 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.2058, allocations: 425.7 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2058, allocations: 4 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008585/0.2067, allocations: 0.549 MB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.2067, allocations: 4 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2067, allocations: 8 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.2071, allocations: 115.6 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2073, allocations: 115.8 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.2096, allocations: 4.082 MB / 0.9608 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2099, allocations: 28.14 kB / 0.9608 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.21, allocations: 24 kB / 0.9608 GB, free: 9.16 MB / 0.9167 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.0002026/0.2102, allocations: 188.4 kB / 0.961 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.2104, allocations: 71.58 kB / 0.9611 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.2111, allocations: 0.5285 MB / 0.9616 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2111, allocations: 4 kB / 0.9616 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2111, allocations: 128 / 0.9616 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2111, allocations: 3.984 kB / 0.9616 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2125, allocations: 1.072 MB / 0.9626 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2125, allocations: 4 kB / 0.9626 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2126, allocations: 55.91 kB / 0.9627 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.2128, allocations: 75.62 kB / 0.9628 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2128, allocations: 11.94 kB / 0.9628 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.214, allocations: 2.083 MB / 0.9648 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.214, allocations: 4 kB / 0.9648 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.2148, allocations: 0.616 MB / 0.9654 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.2149, allocations: 43.7 kB / 0.9655 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.2149, allocations: 12 kB / 0.9655 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2151, allocations: 15.98 kB / 0.9655 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.2151, allocations: 43.97 kB / 0.9655 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.2151, allocations: 19.97 kB / 0.9655 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001795/0.2153, allocations: 267.1 kB / 0.9658 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2153, allocations: 3.938 kB / 0.9658 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001758/0.2171, allocations: 0.7184 MB / 0.9665 GB, free: 2.926 MB / 0.9167 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.002131/0.2192, allocations: 426.5 kB / 0.9669 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.22, allocations: 0.649 MB / 0.9675 GB, free: 1.816 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.22, allocations: 7.953 kB / 0.9675 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.2202, allocations: 282.8 kB / 0.9678 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.2209, allocations: 226.9 kB / 0.968 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2225, allocations: 1.044 MB / 0.9691 GB, free: 144 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2226, allocations: 133.6 kB / 0.9692 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.2228, allocations: 93.39 kB / 0.9693 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.2229, allocations: 40.48 kB / 0.9693 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of SimCode: time 7.52e-07/0.2229, allocations: 0 / 0.9693 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.0348/0.2577, allocations: 33.67 MB / 1.002 GB, free: 14.62 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.224296205677092]