Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 106.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0084/0.0084, allocations: 194.3 kB / 21.92 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8244/0.8244, allocations: 94.59 MB / 400.4 MB, free: 15.79 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical") translateModel(ThermofluidStream.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 88.67 kB / 0.5464 GB, free: 42.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1505, allocations: 71.84 MB / 0.6166 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 0.7906/0.9411, allocations: 366.2 MB / 0.9742 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6842/1.625, allocations: 125.4 MB / 1.097 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006118/1.631, allocations: 163.5 kB / 1.097 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/1.643, allocations: 4.456 MB / 1.101 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01942/1.662, allocations: 6.952 MB / 1.108 GB, free: 448 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02738/1.689, allocations: 10.53 MB / 1.118 GB, free: 152 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01578/1.705, allocations: 9.016 MB / 1.127 GB, free: 140 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/1.708, allocations: 1.457 MB / 1.129 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04027/1.749, allocations: 16.54 MB / 1.145 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00909/1.758, allocations: 4.036 MB / 1.149 GB, free: 10.8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002994/1.761, allocations: 0.6071 MB / 1.149 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0373/1.798, allocations: 12.97 MB / 1.162 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/1.801, allocations: 1.501 MB / 1.163 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009087/1.81, allocations: 3.428 MB / 1.167 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.05026/1.861, allocations: 15.45 MB / 1.182 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.861, allocations: 0 / 1.182 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/1.861, allocations: 0 / 1.182 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003392/1.861, allocations: 0 / 1.182 GB, free: 14.8 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1317 * Number of variables: 1317 Notification: Performance of Generate backend data structure: time 0.0333/1.894, allocations: 9.13 MB / 1.191 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.894, allocations: 8.031 kB / 1.191 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008579/1.903, allocations: 1.365 MB / 1.192 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008593/1.912, allocations: 3.416 MB / 1.195 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/1.912, allocations: 496.8 kB / 1.196 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/1.914, allocations: 0.5228 MB / 1.196 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/1.931, allocations: 6.566 MB / 1.203 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/1.932, allocations: 7.281 kB / 1.203 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004951/1.932, allocations: 207.1 kB / 1.203 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/1.932, allocations: 226.6 kB / 1.203 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/1.947, allocations: 5.687 MB / 1.209 GB, free: 9.422 MB / 0.8262 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.04835/1.996, allocations: 29.94 MB / 1.238 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/2.009, allocations: 5.79 MB / 1.244 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005987/2.015, allocations: 2.571 MB / 1.246 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1073/2.123, allocations: 48.36 MB / 1.293 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009577/2.132, allocations: 3.395 MB / 1.297 GB, free: 11.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 8.706e-06/2.132, allocations: 0 / 1.297 GB, free: 11.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=500): time 0.05048/2.183, allocations: 18.03 MB / 1.314 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/2.183, allocations: 231.8 kB / 1.315 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/2.187, allocations: 2.78 MB / 1.317 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/2.188, allocations: 109.7 kB / 1.317 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/2.191, allocations: 2.125 MB / 1.319 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002624/2.194, allocations: 1.761 MB / 1.321 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/2.195, allocations: 0.8355 MB / 1.322 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/2.195, allocations: 307.3 kB / 1.322 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003974/2.199, allocations: 1.859 MB / 1.324 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/2.204, allocations: 2.468 MB / 1.326 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/2.215, allocations: 4.72 MB / 1.331 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/2.215, allocations: 8 kB / 1.331 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01509/2.23, allocations: 6.431 MB / 1.337 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/2.23, allocations: 45.69 kB / 1.337 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/2.23, allocations: 16 kB / 1.337 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/2.233, allocations: 1.121 MB / 1.339 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/2.238, allocations: 0.8479 MB / 1.339 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/2.265, allocations: 20.91 MB / 1.36 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/2.268, allocations: 144 kB / 1.36 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007708/2.269, allocations: 199.9 kB / 1.36 GB, free: 9.602 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 51 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,source7.outlet.state.phase,junctionT2_6.junctionN.outlet.state.phase,junctionT2_4.junctionN.outlet.state.phase,junctionT2_2.junctionN.outlet.state.phase,junctionRatio2.outlet.state.phase,leakageA1.outletB.state.phase,rTSwitch1.outletB.state.phase,ratioControl1.outletB.state.phase,source3.outlet.state.phase,junctionT2_5.junctionN.outlet.state.phase,junctionT2_3.junctionN.outlet.state.phase,junctionT2_1.junctionN.outlet.state.phase,junctionRatio1.outlet.state.phase,leakageA.outletB.state.phase,rTSwitch.outletB.state.phase,ratioControl.outletB.state.phase,flowResistance11.outlet.state.phase,flowResistance10.outlet.state.phase,flowResistance9.outlet.state.phase,flowResistance8.outlet.state.phase,flowResistance7.outlet.state.phase,flowResistance6.outlet.state.phase,flowResistance5.outlet.state.phase,flowResistance4.outlet.state.phase,pump1.outlet.state.phase,pump3.outlet.state.phase,pump2.outlet.state.phase,pump.outlet.state.phase,source6.outlet.state.phase,source5.outlet.state.phase,source4.outlet.state.phase,leakageA1.outletA.state.phase,rTSwitch1.outletA.state.phase,ratioControl1.outletA.state.phase,flowResistance3.outlet.state.phase,flowResistance2.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance.outlet.state.phase,source2.outlet.state.phase,source1.outlet.state.phase,source.outlet.state.phase,leakageA.outletA.state.phase,rTSwitch.outletA.state.phase,ratioControl.outletA.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,15,100.0%), (1,15,100.0%), (1,15,100.0%), (1,13,100.0%), (1,15,100.0%), (1,15,100.0%), (1,15,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002688/2.272, allocations: 0.9863 MB / 1.361 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/2.273, allocations: 472.9 kB / 1.362 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02692/2.3, allocations: 15.55 MB / 1.377 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/2.3, allocations: 27.89 kB / 1.377 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-05/2.3, allocations: 8 kB / 1.377 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/2.302, allocations: 0.7761 MB / 1.377 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.303, allocations: 111.9 kB / 1.378 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/2.306, allocations: 171.9 kB / 1.378 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.307, allocations: 463.8 kB / 1.378 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02451/2.332, allocations: 10.27 MB / 1.388 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02476/2.356, allocations: 13.37 MB / 1.401 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006824/2.363, allocations: 3.387 MB / 1.405 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003001/2.366, allocations: 1.806 MB / 1.406 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Backend: time 3.3e-07/2.366, allocations: 0 / 1.406 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02237/2.389, allocations: 8.874 MB / 1.415 GB, free: 1.535 MB / 1.029 GB Notification: Performance of SimCode: time 0.2936/2.682, allocations: 13.7 MB / 1.428 GB, free: 0.5344 GB / 1.029 GB Notification: Performance of Templates: time 0.1809/2.863, allocations: 155.3 MB / 1.58 GB, free: 423.7 MB / 1.029 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 15.327874887967482] Failed to read output from testmodel.py, exit status != 0: 2.871420996962115 2.880399186 1.017082878 Calling exit ...