Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.00186/0.00186, allocations: 188.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.346/1.346, allocations: 222.9 MB / 241 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.6817/0.6817, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 84.2 kB / 0.5175 GB, free: 4.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3035, allocations: 67.68 MB / 0.5836 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5111/0.8146, allocations: 225 MB / 0.8034 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.843, allocations: 30.88 MB / 0.8335 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.8464, allocations: 137.4 kB / 0.8336 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.8505, allocations: 1.735 MB / 0.8353 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.8576, allocations: 2.699 MB / 0.838 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006919/0.8645, allocations: 2.6 MB / 0.8405 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.8704, allocations: 4.74 MB / 0.8451 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.8722, allocations: 1.054 MB / 0.8462 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.8771, allocations: 2.391 MB / 0.8485 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/0.8809, allocations: 2.289 MB / 0.8507 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007692/0.8817, allocations: 268 kB / 0.851 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008734/0.8904, allocations: 3.721 MB / 0.8546 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008996/0.8914, allocations: 0.631 MB / 0.8553 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.8943, allocations: 1.551 MB / 0.8568 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009958/0.9042, allocations: 4.938 MB / 0.8616 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9043, allocations: 0 / 0.8616 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9043, allocations: 4 kB / 0.8616 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001148/0.9044, allocations: 0 / 0.8616 GB, free: 7.625 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.00793/0.9123, allocations: 3.537 MB / 0.865 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9124, allocations: 8.031 kB / 0.8651 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008166/0.9132, allocations: 332.9 kB / 0.8654 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.917, allocations: 2.009 MB / 0.8673 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.9172, allocations: 156.2 kB / 0.8675 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.9176, allocations: 219.8 kB / 0.8677 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.9222, allocations: 2.471 MB / 0.8701 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.9223, allocations: 2.812 kB / 0.8701 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.9225, allocations: 95.97 kB / 0.8702 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.9225, allocations: 52 kB / 0.8702 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/0.9265, allocations: 2.223 MB / 0.8724 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.9406, allocations: 11.19 MB / 0.8833 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.9441, allocations: 1.769 MB / 0.8851 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.9457, allocations: 0.906 MB / 0.886 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008114/0.9538, allocations: 6.519 MB / 0.8923 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/0.9558, allocations: 1.043 MB / 0.8933 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 4.569e-06/0.9558, allocations: 8 kB / 0.8934 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01237/0.9682, allocations: 6.079 MB / 0.8993 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.9683, allocations: 103.1 kB / 0.8994 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.9708, allocations: 1.841 MB / 0.9012 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.9709, allocations: 57.7 kB / 0.9012 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/0.9718, allocations: 1.069 MB / 0.9023 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.9724, allocations: 0.6211 MB / 0.9029 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.9729, allocations: 299.5 kB / 0.9032 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.973, allocations: 309 kB / 0.9035 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.9744, allocations: 0.6716 MB / 0.9041 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.9759, allocations: 0.8493 MB / 0.905 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.9789, allocations: 1.661 MB / 0.9066 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.9789, allocations: 4 kB / 0.9066 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005362/0.9843, allocations: 2.545 MB / 0.9091 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.9844, allocations: 36.52 kB / 0.9091 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9844, allocations: 7.938 kB / 0.9091 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.9865, allocations: 0.6164 MB / 0.9097 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.9877, allocations: 295.6 kB / 0.91 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.006, allocations: 16.21 MB / 0.9258 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.007, allocations: 99.38 kB / 0.9259 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.008, allocations: 83.91 kB / 0.926 GB, free: 2.383 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001157/1.009, allocations: 433.4 kB / 0.9264 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/1.009, allocations: 256.7 kB / 0.9267 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/1.017, allocations: 3.44 MB / 0.93 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/1.017, allocations: 15.91 kB / 0.93 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.017, allocations: 0 / 0.93 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007709/1.018, allocations: 321.5 kB / 0.9303 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005379/1.018, allocations: 51.84 kB / 0.9304 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.019, allocations: 59.95 kB / 0.9304 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/1.02, allocations: 181.7 kB / 0.9306 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006801/1.027, allocations: 2.675 MB / 0.9332 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006059/1.033, allocations: 3.405 MB / 0.9366 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001604/1.034, allocations: 0.9097 MB / 0.9374 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002108/1.036, allocations: 1.3 MB / 0.9387 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of Backend: time 8.21e-07/1.036, allocations: 0 / 0.9387 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007228/1.044, allocations: 3.628 MB / 0.9423 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008951/1.053, allocations: 5.624 MB / 0.9477 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of Templates: time 0.08629/1.139, allocations: 55.72 MB / 1.002 GB, free: 4.637 MB / 0.7481 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1)