Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.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.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_ThermofluidStream.Topology.Tests.TestNonPhysical") translateModel(ThermofluidStream.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_ThermofluidStream.Topology.Tests.TestNonPhysical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 106.5 kB / 16.41 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.002137/0.002137, allocations: 192.3 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.325/1.325, 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.677/0.677, allocations: 91.17 MB / 382.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 75.88 kB / 0.5175 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2812, allocations: 67.68 MB / 0.5836 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 0.5745/0.8557, allocations: 360 MB / 0.9352 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4833/1.339, allocations: 123.8 MB / 1.056 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005392/1.344, allocations: 149.5 kB / 1.056 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/1.355, allocations: 4.436 MB / 1.061 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01702/1.372, allocations: 6.876 MB / 1.067 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02435/1.397, allocations: 10.51 MB / 1.078 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.408, allocations: 8.826 MB / 1.086 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/1.412, allocations: 2.367 MB / 1.088 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03433/1.446, allocations: 16.38 MB / 1.104 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007113/1.453, allocations: 3.921 MB / 1.108 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/1.455, allocations: 0.6017 MB / 1.109 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03016/1.485, allocations: 12.87 MB / 1.121 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002721/1.488, allocations: 1.481 MB / 1.123 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00563/1.494, allocations: 3.411 MB / 1.126 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03268/1.527, allocations: 15.32 MB / 1.141 GB, free: 384 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.527, allocations: 0 / 1.141 GB, free: 384 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/1.527, allocations: 4 kB / 1.141 GB, free: 380 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001577/1.527, allocations: 0 / 1.141 GB, free: 380 kB / 0.7794 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.02403/1.551, allocations: 8.811 MB / 1.15 GB, free: 8.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.551, allocations: 12.03 kB / 1.15 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/1.557, allocations: 1.321 MB / 1.151 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006459/1.564, allocations: 3.295 MB / 1.154 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/1.564, allocations: 499.2 kB / 1.155 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009878/1.565, allocations: 0.5227 MB / 1.155 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/1.58, allocations: 6.566 MB / 1.162 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.571e-05/1.58, allocations: 10.09 kB / 1.162 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004708/1.58, allocations: 209.8 kB / 1.162 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/1.581, allocations: 224.8 kB / 1.162 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/1.593, allocations: 5.69 MB / 1.168 GB, free: 11.46 MB / 0.8106 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.03342/1.626, allocations: 29.86 MB / 1.197 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/1.638, allocations: 6.098 MB / 1.203 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/1.643, allocations: 2.828 MB / 1.206 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1003/1.743, allocations: 48.34 MB / 1.253 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009453/1.752, allocations: 3.388 MB / 1.256 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=476): time 7.685e-06/1.752, allocations: 0 / 1.256 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=500): time 0.04368/1.796, allocations: 17.99 MB / 1.274 GB, free: 12.29 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.796, allocations: 235.8 kB / 1.274 GB, free: 12.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.8, allocations: 2.707 MB / 1.277 GB, free: 9.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005455/1.801, allocations: 109.7 kB / 1.277 GB, free: 9.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.802, allocations: 2.048 MB / 1.279 GB, free: 7.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.804, allocations: 1.675 MB / 1.28 GB, free: 5.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/1.806, allocations: 0.8314 MB / 1.281 GB, free: 4.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/1.806, allocations: 305.1 kB / 1.281 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/1.809, allocations: 1.859 MB / 1.283 GB, free: 2.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/1.814, allocations: 2.48 MB / 1.286 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008326/1.822, allocations: 4.714 MB / 1.29 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.822, allocations: 4 kB / 1.29 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01323/1.835, allocations: 6.459 MB / 1.297 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/1.835, allocations: 48.09 kB / 1.297 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.118e-05/1.835, allocations: 20 kB / 1.297 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/1.839, allocations: 1.117 MB / 1.298 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/1.842, allocations: 0.8456 MB / 1.298 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/1.865, allocations: 20.9 MB / 1.319 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.869, allocations: 139.9 kB / 1.319 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000951/1.87, allocations: 207.9 kB / 1.319 GB, free: 12.23 MB / 0.9669 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.002892/1.873, allocations: 0.9745 MB / 1.32 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.874, allocations: 442.6 kB / 1.321 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/1.898, allocations: 15.57 MB / 1.336 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/1.898, allocations: 27.89 kB / 1.336 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.898, allocations: 8 kB / 1.336 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.9, allocations: 0.7297 MB / 1.337 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/1.901, allocations: 108 kB / 1.337 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.904, allocations: 175.9 kB / 1.337 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009632/1.905, allocations: 463.8 kB / 1.337 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02195/1.927, allocations: 10.25 MB / 1.347 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02068/1.948, allocations: 13.32 MB / 1.36 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00575/1.953, allocations: 4.172 MB / 1.364 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002817/1.956, allocations: 1.756 MB / 1.366 GB, free: 12.08 MB / 1.014 GB Notification: Performance of Backend: time 7.22e-07/1.956, allocations: 0 / 1.366 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02307/1.979, allocations: 9.163 MB / 1.375 GB, free: 3.273 MB / 1.014 GB Notification: Performance of SimCode: time 0.022/2.001, allocations: 13.34 MB / 1.388 GB, free: 5.914 MB / 1.029 GB Notification: Performance of Templates: time 0.4212/2.423, allocations: 152.1 MB / 1.537 GB, free: 452.3 MB / 1.029 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.makefile (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe 2>&1)