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.001074/0.001074, allocations: 109.8 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.00102/0.00102, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6579/0.6579, allocations: 91.2 MB / 382.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 79.88 kB / 0.5175 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2946, allocations: 67.68 MB / 0.5836 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 0.5612/0.8558, allocations: 360 MB / 0.9352 GB, free: 132 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4997/1.356, allocations: 123.8 MB / 1.056 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004843/1.36, allocations: 146.7 kB / 1.056 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009683/1.37, allocations: 4.44 MB / 1.061 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01702/1.387, allocations: 6.869 MB / 1.067 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02476/1.412, allocations: 10.52 MB / 1.078 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01152/1.424, allocations: 8.825 MB / 1.086 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/1.427, allocations: 2.354 MB / 1.088 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03452/1.461, allocations: 16.39 MB / 1.104 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00702/1.468, allocations: 3.915 MB / 1.108 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0023/1.471, allocations: 0.6005 MB / 1.109 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03058/1.501, allocations: 12.88 MB / 1.121 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00252/1.504, allocations: 1.477 MB / 1.123 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006019/1.51, allocations: 3.407 MB / 1.126 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03381/1.544, allocations: 15.38 MB / 1.141 GB, free: 444 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.544, allocations: 0 / 1.141 GB, free: 444 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/1.544, allocations: 0 / 1.141 GB, free: 444 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001984/1.544, allocations: 0 / 1.141 GB, free: 444 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.02558/1.569, allocations: 9.048 MB / 1.15 GB, free: 8.426 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.57, allocations: 12.03 kB / 1.15 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/1.576, allocations: 1.358 MB / 1.151 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/1.583, allocations: 3.329 MB / 1.155 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/1.584, allocations: 499.1 kB / 1.155 GB, free: 4.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/1.585, allocations: 0.5201 MB / 1.156 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.599, allocations: 6.566 MB / 1.162 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-05/1.599, allocations: 7.938 kB / 1.162 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/1.6, allocations: 210.9 kB / 1.162 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/1.6, allocations: 224.7 kB / 1.162 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/1.612, allocations: 5.685 MB / 1.168 GB, free: 11.21 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.03319/1.646, allocations: 29.93 MB / 1.197 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.657, allocations: 6.097 MB / 1.203 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.662, allocations: 2.816 MB / 1.206 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09141/1.753, allocations: 48.35 MB / 1.253 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008804/1.762, allocations: 3.393 MB / 1.256 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=476): time 7.514e-06/1.762, allocations: 0 / 1.256 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=500): time 0.03938/1.802, allocations: 18.08 MB / 1.274 GB, free: 11.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.802, allocations: 235.8 kB / 1.274 GB, free: 11.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/1.805, allocations: 2.708 MB / 1.277 GB, free: 8.957 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.806, allocations: 109.7 kB / 1.277 GB, free: 8.844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/1.807, allocations: 2.084 MB / 1.279 GB, free: 6.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.809, allocations: 1.762 MB / 1.281 GB, free: 5.008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/1.81, allocations: 0.8354 MB / 1.282 GB, free: 4.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/1.81, allocations: 305.1 kB / 1.282 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.813, allocations: 1.859 MB / 1.284 GB, free: 1.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.817, allocations: 2.476 MB / 1.286 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/1.825, allocations: 4.718 MB / 1.291 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.825, allocations: 4 kB / 1.291 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01194/1.837, allocations: 6.476 MB / 1.297 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/1.837, allocations: 41.88 kB / 1.297 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/1.837, allocations: 27.98 kB / 1.297 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/1.84, allocations: 1.121 MB / 1.298 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/1.844, allocations: 0.8542 MB / 1.299 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/1.866, allocations: 20.9 MB / 1.32 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/1.869, allocations: 139.9 kB / 1.32 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/1.869, allocations: 207.9 kB / 1.32 GB, free: 11.72 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.001973/1.871, allocations: 0.9854 MB / 1.321 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007987/1.872, allocations: 461 kB / 1.321 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/1.893, allocations: 15.59 MB / 1.337 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/1.893, allocations: 27.89 kB / 1.337 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/1.893, allocations: 12 kB / 1.337 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.894, allocations: 0.7671 MB / 1.337 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/1.895, allocations: 108 kB / 1.337 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.897, allocations: 167.9 kB / 1.338 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/1.898, allocations: 459.8 kB / 1.338 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01896/1.917, allocations: 10.27 MB / 1.348 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0185/1.935, allocations: 13.36 MB / 1.361 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005346/1.941, allocations: 4.165 MB / 1.365 GB, free: 13.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002439/1.943, allocations: 1.767 MB / 1.367 GB, free: 11.46 MB / 1.014 GB Notification: Performance of Backend: time 5.51e-07/1.943, allocations: 0 / 1.367 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01999/1.963, allocations: 9.217 MB / 1.376 GB, free: 2.582 MB / 1.014 GB Notification: Performance of SimCode: time 0.01783/1.981, allocations: 13.58 MB / 1.389 GB, free: 4.957 MB / 1.029 GB Notification: Performance of Templates: time 0.4099/2.391, allocations: 152.1 MB / 1.538 GB, free: 454.5 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)