Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6982/0.6982, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 79.88 kB / 0.5176 GB, free: 4.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2748, allocations: 67.67 MB / 0.5836 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes): time 0.5402/0.815, allocations: 307.7 MB / 0.8842 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04191/0.857, allocations: 32.52 MB / 0.9159 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00476/0.8618, allocations: 159 kB / 0.9161 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007086/0.8689, allocations: 2.738 MB / 0.9187 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.8875, allocations: 7.57 MB / 0.9261 GB, free: 9.793 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.9022, allocations: 5.831 MB / 0.9318 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.9142, allocations: 9.032 MB / 0.9406 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.9168, allocations: 1.262 MB / 0.9419 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.9281, allocations: 5.698 MB / 0.9474 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006208/0.9344, allocations: 3.973 MB / 0.9513 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.936, allocations: 428 kB / 0.9517 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.9542, allocations: 8.72 MB / 0.9602 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002268/0.9565, allocations: 1.444 MB / 0.9617 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004777/0.9613, allocations: 2.81 MB / 0.9644 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.9796, allocations: 9.831 MB / 0.974 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.9796, allocations: 0 / 0.974 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9796, allocations: 4 kB / 0.974 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001992/0.9799, allocations: 0 / 0.974 GB, free: 8.578 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.01426/0.9941, allocations: 6.302 MB / 0.9802 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9942, allocations: 8.031 kB / 0.9802 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.9979, allocations: 0.7977 MB / 0.9809 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/1.004, allocations: 2.948 MB / 0.9838 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/1.004, allocations: 316 kB / 0.9841 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008159/1.005, allocations: 435.7 kB / 0.9845 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00938/1.014, allocations: 5.255 MB / 0.9897 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/1.014, allocations: 7.938 kB / 0.9897 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/1.015, allocations: 176 kB / 0.9898 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003695/1.015, allocations: 283.2 kB / 0.9901 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007628/1.023, allocations: 4.687 MB / 0.9947 GB, free: 3.066 MB / 0.7325 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.03445/1.057, allocations: 24.26 MB / 1.018 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006701/1.064, allocations: 3.568 MB / 1.022 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/1.068, allocations: 2.052 MB / 1.024 GB, free: 3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2647/1.332, allocations: 11.08 MB / 1.035 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/1.332, allocations: 103.8 kB / 1.035 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=415): time 8.365e-06/1.332, allocations: 0.8438 kB / 1.035 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=415): time 0.01612/1.349, allocations: 8.869 MB / 1.043 GB, free: 312.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.349, allocations: 247.7 kB / 1.044 GB, free: 311.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.352, allocations: 2.9 MB / 1.047 GB, free: 310.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/1.352, allocations: 106.6 kB / 1.047 GB, free: 310.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/1.353, allocations: 1.863 MB / 1.048 GB, free: 309.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008741/1.354, allocations: 1.428 MB / 1.05 GB, free: 308.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.355, allocations: 0.7691 MB / 1.051 GB, free: 308 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/1.355, allocations: 307.2 kB / 1.051 GB, free: 307.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.357, allocations: 1.575 MB / 1.052 GB, free: 307 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/1.36, allocations: 2.206 MB / 1.055 GB, free: 305.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00513/1.365, allocations: 3.998 MB / 1.058 GB, free: 303.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.365, allocations: 4.281 kB / 1.058 GB, free: 303.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008469/1.374, allocations: 5.191 MB / 1.064 GB, free: 300.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.374, allocations: 19.22 kB / 1.064 GB, free: 300.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.374, allocations: 15.09 kB / 1.064 GB, free: 300.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.375, allocations: 0.5464 MB / 1.064 GB, free: 300.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/1.379, allocations: 0.8752 MB / 1.065 GB, free: 300.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.39, allocations: 26.01 MB / 1.09 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/1.393, allocations: 410.9 kB / 1.091 GB, free: 271.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/1.394, allocations: 239.9 kB / 1.091 GB, free: 271.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (495): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001633/1.395, allocations: 0.7742 MB / 1.092 GB, free: 270.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009688/1.396, allocations: 438.7 kB / 1.092 GB, free: 270.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.407, allocations: 6.732 MB / 1.099 GB, free: 263.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/1.407, allocations: 19.92 kB / 1.099 GB, free: 263.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.407, allocations: 4 kB / 1.099 GB, free: 263.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/1.408, allocations: 0.5144 MB / 1.099 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/1.408, allocations: 95.84 kB / 1.099 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.411, allocations: 133.9 kB / 1.099 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/1.411, allocations: 326.5 kB / 1.1 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01145/1.423, allocations: 5.684 MB / 1.105 GB, free: 256.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009016/1.432, allocations: 6.84 MB / 1.112 GB, free: 249.8 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002392/1.434, allocations: 1.831 MB / 1.114 GB, free: 248 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002333/1.436, allocations: 2.026 MB / 1.116 GB, free: 246 MB / 0.7637 GB Notification: Performance of Backend: time 7.82e-07/1.436, allocations: 4 kB / 1.116 GB, free: 246 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.449, allocations: 7.237 MB / 1.123 GB, free: 239.1 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01331/1.462, allocations: 10.77 MB / 1.133 GB, free: 228.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.1262/1.589, allocations: 105.8 MB / 1.237 GB, free: 123.2 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1)