Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.1 kB / 18.68 MB, free: 3.316 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.001301/0.001301, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.469/1.469, allocations: 225.6 MB / 250.6 MB, free: 13.37 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.7401/0.7401, allocations: 94.6 MB / 400.4 MB, free: 15.82 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.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 95.34 kB / 0.5464 GB, free: 43.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1053, allocations: 71.86 MB / 0.6166 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.515/0.6203, allocations: 227.2 MB / 0.8385 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03747/0.6578, allocations: 31.22 MB / 0.869 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.6611, allocations: 150.6 kB / 0.8691 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.666, allocations: 1.745 MB / 0.8709 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008188/0.6742, allocations: 2.737 MB / 0.8735 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007717/0.6819, allocations: 2.62 MB / 0.8761 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007594/0.6895, allocations: 4.826 MB / 0.8808 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.6911, allocations: 0.639 MB / 0.8814 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005469/0.6966, allocations: 2.455 MB / 0.8838 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/0.7008, allocations: 2.331 MB / 0.8861 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009793/0.7018, allocations: 268 kB / 0.8864 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009498/0.7113, allocations: 3.782 MB / 0.89 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.7124, allocations: 0.6342 MB / 0.8907 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002903/0.7153, allocations: 1.558 MB / 0.8922 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.7267, allocations: 5.009 MB / 0.8971 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.7267, allocations: 3.938 kB / 0.8971 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7267, allocations: 4 kB / 0.8971 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001183/0.7268, allocations: 0 / 0.8971 GB, free: 13.73 MB / 0.6387 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.008837/0.7357, allocations: 3.669 MB / 0.9007 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.7357, allocations: 11.97 kB / 0.9007 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.7366, allocations: 355.5 kB / 0.901 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.7413, allocations: 2.073 MB / 0.903 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.7415, allocations: 160.2 kB / 0.9032 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.742, allocations: 223.9 kB / 0.9034 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/0.7473, allocations: 2.475 MB / 0.9058 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.7473, allocations: 0 / 0.9058 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.7475, allocations: 84 kB / 0.9059 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.7476, allocations: 52 kB / 0.906 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00452/0.7521, allocations: 2.23 MB / 0.9081 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.7686, allocations: 11.23 MB / 0.9191 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/0.7725, allocations: 1.621 MB / 0.9207 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.7742, allocations: 0.8098 MB / 0.9215 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009633/0.7838, allocations: 6.535 MB / 0.9279 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002114/0.7859, allocations: 1.043 MB / 0.9289 GB, free: 11.21 MB / 0.67 GB Notification: Performance of pre-optimization done (n=183): time 4.689e-06/0.7859, allocations: 3.938 kB / 0.9289 GB, free: 11.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=184): time 0.0138/0.7997, allocations: 6.157 MB / 0.9349 GB, free: 4.785 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.7998, allocations: 95.11 kB / 0.935 GB, free: 4.676 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.8026, allocations: 1.879 MB / 0.9368 GB, free: 2.781 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.8028, allocations: 57.7 kB / 0.9369 GB, free: 2.719 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.8038, allocations: 1.111 MB / 0.938 GB, free: 1.598 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/0.8045, allocations: 0.639 MB / 0.9386 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/0.8051, allocations: 295.6 kB / 0.9389 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8053, allocations: 309.1 kB / 0.9392 GB, free: 364 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.8068, allocations: 0.6677 MB / 0.9398 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.8085, allocations: 0.8571 MB / 0.9406 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.8118, allocations: 1.665 MB / 0.9423 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8118, allocations: 0 / 0.9423 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005906/0.8177, allocations: 2.546 MB / 0.9448 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.8177, allocations: 32.52 kB / 0.9448 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8177, allocations: 7.938 kB / 0.9448 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.8199, allocations: 0.6302 MB / 0.9454 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.8211, allocations: 295.6 kB / 0.9457 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.8412, allocations: 16.23 MB / 0.9615 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8427, allocations: 95.58 kB / 0.9616 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.8431, allocations: 79.91 kB / 0.9617 GB, free: 7.832 MB / 0.7012 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.001095/0.8442, allocations: 441.4 kB / 0.9621 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006438/0.8448, allocations: 274.2 kB / 0.9624 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/0.8523, allocations: 3.428 MB / 0.9657 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.8523, allocations: 15.89 kB / 0.9658 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8523, allocations: 8 kB / 0.9658 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.853, allocations: 335 kB / 0.9661 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/0.8534, allocations: 47.89 kB / 0.9661 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8544, allocations: 63.95 kB / 0.9662 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.8548, allocations: 181.6 kB / 0.9664 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007089/0.8619, allocations: 2.672 MB / 0.969 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006251/0.8681, allocations: 3.431 MB / 0.9723 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001563/0.8697, allocations: 0.8355 MB / 0.9731 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002069/0.8717, allocations: 1.321 MB / 0.9744 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of Backend: time 4.8e-07/0.8717, allocations: 0 / 0.9744 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007062/0.8788, allocations: 3.526 MB / 0.9779 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009478/0.8883, allocations: 5.784 MB / 0.9835 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.1021/0.9904, allocations: 57.03 MB / 1.039 GB, free: 8.52 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 8.163013978977688] Failed to read output from testmodel.py, exit status != 0: 0.998444858007133 1.2118425800000001 0.48241493599999996 Calling exit ...