Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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",fileNamePrefix="ThermofluidStream_OM_adaptions_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",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000893/0.0008931, allocations: 171.6 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205 MB / 221.9 MB, free: 9.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008057, allocations: 89.69 kB / 269.9 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5967/0.5967, allocations: 90.5 MB / 408.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2418, allocations: 65.81 MB / 0.5378 GB, free: 34.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 0.4569/0.6988, allocations: 356.5 MB / 0.8859 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3779/1.077, allocations: 123.2 MB / 1.006 GB, free: 364 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007572/1.084, allocations: 62.94 kB / 1.006 GB, free: 364 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.009543/1.094, allocations: 4.002 MB / 1.01 GB, free: 336 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/1.109, allocations: 6.052 MB / 1.016 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.02408/1.134, allocations: 8.952 MB / 1.025 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009814/1.143, allocations: 9.999 MB / 1.035 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/1.146, allocations: 1.972 MB / 1.036 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02584/1.172, allocations: 15.35 MB / 1.051 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/1.176, allocations: 3.227 MB / 1.055 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005787/1.177, allocations: 216 kB / 1.055 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02644/1.203, allocations: 12.97 MB / 1.068 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/1.205, allocations: 0.9606 MB / 1.068 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003324/1.208, allocations: 2.654 MB / 1.071 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02909/1.237, allocations: 14.45 MB / 1.085 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.237, allocations: 4 kB / 1.085 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.242e-06/1.237, allocations: 0 / 1.085 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.55e-05/1.237, allocations: 0 / 1.085 GB, free: 8.266 MB / 0.6667 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.01803/1.255, allocations: 7.225 MB / 1.092 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.255, allocations: 11.97 kB / 1.092 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/1.261, allocations: 1.239 MB / 1.093 GB, free: 436 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/1.264, allocations: 2.268 MB / 1.096 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/1.265, allocations: 490.8 kB / 1.096 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000671/1.265, allocations: 0.5023 MB / 1.097 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/1.277, allocations: 6.711 MB / 1.103 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.8e-05/1.277, allocations: 7.938 kB / 1.103 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/1.278, allocations: 203.2 kB / 1.103 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/1.278, allocations: 233.4 kB / 1.104 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/1.289, allocations: 5.838 MB / 1.109 GB, free: 172 kB / 0.6823 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.02704/1.316, allocations: 29.67 MB / 1.138 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.327, allocations: 6.468 MB / 1.145 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/1.331, allocations: 2.922 MB / 1.147 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05812/1.389, allocations: 33.28 MB / 1.18 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008063/1.398, allocations: 3.64 MB / 1.183 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=500): time 6.462e-06/1.398, allocations: 0 / 1.183 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=524): time 0.2352/1.633, allocations: 18.34 MB / 1.201 GB, free: 394.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.633, allocations: 236.7 kB / 1.202 GB, free: 394.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/1.635, allocations: 1.685 MB / 1.203 GB, free: 393.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004267/1.636, allocations: 104.8 kB / 1.203 GB, free: 393.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.637, allocations: 1.623 MB / 1.205 GB, free: 392.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.638, allocations: 1.748 MB / 1.207 GB, free: 391.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.638, allocations: 90.19 kB / 1.207 GB, free: 391.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.638, allocations: 484.2 kB / 1.207 GB, free: 390.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.641, allocations: 1.951 MB / 1.209 GB, free: 390 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/1.645, allocations: 2.512 MB / 1.212 GB, free: 388.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006879/1.652, allocations: 4.863 MB / 1.216 GB, free: 386.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/1.652, allocations: 3.969 kB / 1.216 GB, free: 386.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=591) (initialization): time 0.009925/1.662, allocations: 6.51 MB / 1.223 GB, free: 383.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/1.662, allocations: 49.36 kB / 1.223 GB, free: 383.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.662, allocations: 19.47 kB / 1.223 GB, free: 383.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.664, allocations: 1.124 MB / 1.224 GB, free: 383 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/1.667, allocations: 0.8137 MB / 1.225 GB, free: 382.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.683, allocations: 19.1 MB / 1.243 GB, free: 367.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.686, allocations: 350.8 kB / 1.244 GB, free: 367.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/1.686, allocations: 214.3 kB / 1.244 GB, free: 367.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 51 ($whenCondition1,rTSwitch.inlet.state.phase,splitterT2_1.splitterN.outlets[2].state.phase,source.outlet.state.phase,source2.outlet.state.phase,rTSwitch1.inlet.state.phase,splitterT2_2.splitterN.outlets[2].state.phase,source4.outlet.state.phase,source6.outlet.state.phase,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,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,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,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,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 (434): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 12 * 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.001552/1.687, allocations: 0.9331 MB / 1.245 GB, free: 367.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/1.688, allocations: 339.4 kB / 1.245 GB, free: 366.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.704, allocations: 14.19 MB / 1.259 GB, free: 360.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/1.704, allocations: 31.83 kB / 1.259 GB, free: 360.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/1.704, allocations: 11.66 kB / 1.259 GB, free: 360.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/1.704, allocations: 0.5876 MB / 1.26 GB, free: 359.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.705, allocations: 105.5 kB / 1.26 GB, free: 359.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.707, allocations: 397 kB / 1.26 GB, free: 359.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/1.708, allocations: 471 kB / 1.26 GB, free: 358.9 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0147/1.722, allocations: 9.937 MB / 1.27 GB, free: 349.1 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01376/1.736, allocations: 12.71 MB / 1.283 GB, free: 336.2 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003788/1.74, allocations: 3.962 MB / 1.286 GB, free: 332.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001025/1.741, allocations: 1.078 MB / 1.287 GB, free: 331.2 MB / 0.7761 GB Notification: Performance of Backend: time 3.51e-07/1.741, allocations: 0 / 1.287 GB, free: 331.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.757, allocations: 9.973 MB / 1.297 GB, free: 322 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01162/1.769, allocations: 14.31 MB / 1.311 GB, free: 307.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.1456/1.914, allocations: 146.6 MB / 1.454 GB, free: 161.2 MB / 0.7761 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestNonPhysical.pipe 2>&1)