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.001336/0.001336, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001591/0.001591, allocations: 181 kB / 24.09 MB, free: 420 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.9155/0.9155, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.764/1.764, allocations: 377.9 MB / 0.624 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.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.854e-06/1.854e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.561e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1064/0.1065, allocations: 134.2 MB / 0.9431 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004469/0.1109, allocations: 5.728 MB / 0.9486 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1111, allocations: 23.75 kB / 0.9487 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1116, allocations: 198.5 kB / 0.9489 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0009327/0.1125, allocations: 0.7457 MB / 0.9496 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1137, allocations: 0.9697 MB / 0.9505 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.1145, allocations: 1.367 MB / 0.9519 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.1149, allocations: 386.3 kB / 0.9522 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1159, allocations: 0.9423 MB / 0.9532 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.1163, allocations: 394.8 kB / 0.9535 GB, free: 20 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.1164, allocations: 52.05 kB / 0.9536 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.1177, allocations: 1.229 MB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1178, allocations: 159.4 kB / 0.9549 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.118, allocations: 255.4 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009942/0.119, allocations: 1.328 MB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.119, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.71e-07/0.119, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.119, allocations: 0 / 0.9565 GB, free: 13 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.0008919/0.1199, allocations: 0.9786 MB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1199, allocations: 8.031 kB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.1205, allocations: 235.8 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1208, allocations: 378.8 kB / 0.958 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1209, allocations: 37.69 kB / 0.9581 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1209, allocations: 60.38 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.1215, allocations: 0.8508 MB / 0.9589 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1215, allocations: 7.891 kB / 0.959 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1215, allocations: 28 kB / 0.959 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1215, allocations: 16 kB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1217, allocations: 210.6 kB / 0.9592 GB, free: 9.996 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.006203/0.128, allocations: 5.345 MB / 0.9644 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1281, allocations: 95.69 kB / 0.9645 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1282, allocations: 48.14 kB / 0.9646 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/0.1304, allocations: 1.318 MB / 0.9658 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1304, allocations: 49.55 kB / 0.9659 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=27): time 1.172e-06/0.1304, allocations: 0 / 0.9659 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.01549/0.1459, allocations: 7.03 MB / 0.9728 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1459, allocations: 136.5 kB / 0.9729 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1461, allocations: 390.3 kB / 0.9733 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1461, allocations: 29.7 kB / 0.9733 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1463, allocations: 379.1 kB / 0.9736 GB, free: 11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1464, allocations: 146.8 kB / 0.9738 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.1465, allocations: 111.9 kB / 0.9739 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1466, allocations: 0.5273 MB / 0.9744 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1467, allocations: 77.25 kB / 0.9745 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1469, allocations: 392.3 kB / 0.9749 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1472, allocations: 393.6 kB / 0.9752 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1472, allocations: 0 / 0.9752 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006515/0.1479, allocations: 0.4975 MB / 0.9757 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1479, allocations: 8 kB / 0.9757 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1479, allocations: 4 kB / 0.9757 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.1481, allocations: 115.4 kB / 0.9758 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1484, allocations: 103.8 kB / 0.9759 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.15, allocations: 4.041 MB / 0.9799 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1502, allocations: 32.27 kB / 0.9799 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1502, allocations: 20 kB / 0.9799 GB, free: 4.094 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.0001245/0.1504, allocations: 200.3 kB / 0.9801 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1505, allocations: 71.59 kB / 0.9802 GB, free: 3.816 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.1511, allocations: 0.5179 MB / 0.9807 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1511, allocations: 7.984 kB / 0.9807 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1512, allocations: 0 / 0.9807 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1512, allocations: 0 / 0.9807 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.1521, allocations: 1.056 MB / 0.9817 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1521, allocations: 4 kB / 0.9817 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1523, allocations: 51.91 kB / 0.9818 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.1524, allocations: 75.61 kB / 0.9819 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1524, allocations: 15.98 kB / 0.9819 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008943/0.1533, allocations: 2.056 MB / 0.9839 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1533, allocations: 11.88 kB / 0.9839 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1538, allocations: 0.592 MB / 0.9845 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.1538, allocations: 39.75 kB / 0.9845 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1539, allocations: 12 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.154, allocations: 19.98 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1541, allocations: 35.83 kB / 0.9846 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1541, allocations: 19.94 kB / 0.9846 GB, free: 14.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001237/0.1542, allocations: 259 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1542, allocations: 0 / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001286/0.1555, allocations: 0.7106 MB / 0.9855 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.001801/0.1573, allocations: 441.6 kB / 0.986 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.1578, allocations: 0.6185 MB / 0.9866 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1578, allocations: 0 / 0.9866 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.158, allocations: 275.3 kB / 0.9868 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.0005807/0.1586, allocations: 221.6 kB / 0.987 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1598, allocations: 1.052 MB / 0.9881 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.1599, allocations: 137.5 kB / 0.9882 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.1601, allocations: 82.97 kB / 0.9883 GB, free: 10.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.1604, allocations: 266 kB / 0.9885 GB, free: 10.71 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.1604, allocations: 4 kB / 0.9885 GB, free: 10.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03303/0.1934, allocations: 35.38 MB / 1.023 GB, free: 7.707 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: 5.678435299079865]