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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6627/0.6627, allocations: 100.3 MB / 409.8 MB, free: 5.383 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 83.88 kB / 0.5589 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.43, allocations: 74.42 MB / 0.6316 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6683/1.098, allocations: 226.2 MB / 0.8525 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03212/1.13, allocations: 31.05 MB / 0.8828 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003931/1.134, allocations: 199.5 kB / 0.883 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005052/1.139, allocations: 1.743 MB / 0.8847 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008182/1.148, allocations: 2.732 MB / 0.8874 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008217/1.156, allocations: 2.605 MB / 0.8899 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007737/1.164, allocations: 4.826 MB / 0.8946 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/1.166, allocations: 0.6555 MB / 0.8953 GB, free: 16.87 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006409/1.172, allocations: 2.484 MB / 0.8977 GB, free: 16.85 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/1.177, allocations: 2.336 MB / 0.9 GB, free: 16.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/1.179, allocations: 269.2 kB / 0.9003 GB, free: 16.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.191, allocations: 3.781 MB / 0.9039 GB, free: 16.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/1.193, allocations: 0.6358 MB / 0.9046 GB, free: 16.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004418/1.197, allocations: 1.559 MB / 0.9061 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.209, allocations: 4.995 MB / 0.911 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.209, allocations: 3.812 kB / 0.911 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.185e-06/1.209, allocations: 3.938 kB / 0.911 GB, free: 15.08 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001117/1.209, allocations: 1.094 kB / 0.911 GB, free: 15.08 MB / 0.67 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.009159/1.218, allocations: 3.675 MB / 0.9146 GB, free: 13.38 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.218, allocations: 9.688 kB / 0.9146 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.132e-05/1.218, allocations: 56.95 kB / 0.9146 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003828/1.218, allocations: 290.1 kB / 0.9149 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/1.219, allocations: 354.8 kB / 0.9152 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/1.223, allocations: 2.088 MB / 0.9173 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.223, allocations: 152.8 kB / 0.9174 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/1.224, allocations: 222 kB / 0.9176 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/1.228, allocations: 2.48 MB / 0.9201 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/1.228, allocations: 0 / 0.9201 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.228, allocations: 82.53 kB / 0.9201 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.228, allocations: 53.09 kB / 0.9202 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/1.232, allocations: 2.227 MB / 0.9224 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/1.248, allocations: 11.23 MB / 0.9333 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/1.252, allocations: 1.619 MB / 0.9349 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/1.253, allocations: 0.8035 MB / 0.9357 GB, free: 3.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009465/1.263, allocations: 6.546 MB / 0.9421 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/1.265, allocations: 1.038 MB / 0.9431 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 3.546e-06/1.265, allocations: 0 / 0.9431 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.01389/1.279, allocations: 6.169 MB / 0.9491 GB, free: 5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/1.279, allocations: 97.55 kB / 0.9492 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/1.282, allocations: 1.883 MB / 0.9511 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/1.282, allocations: 57.7 kB / 0.9511 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.283, allocations: 1.103 MB / 0.9522 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008107/1.284, allocations: 0.6541 MB / 0.9528 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/1.284, allocations: 287.6 kB / 0.9531 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.285, allocations: 305.1 kB / 0.9534 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.286, allocations: 0.6677 MB / 0.954 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/1.288, allocations: 0.8557 MB / 0.9549 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/1.291, allocations: 1.661 MB / 0.9565 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.291, allocations: 0 / 0.9565 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006127/1.297, allocations: 2.565 MB / 0.959 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/1.297, allocations: 33.64 kB / 0.959 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.297, allocations: 4 kB / 0.959 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.299, allocations: 0.6125 MB / 0.9596 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.301, allocations: 295.1 kB / 0.9599 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/1.32, allocations: 16.22 MB / 0.9758 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.322, allocations: 107.5 kB / 0.9759 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.323, allocations: 71.98 kB / 0.9759 GB, free: 8.242 MB / 0.7169 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.001197/1.324, allocations: 437.7 kB / 0.9764 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/1.325, allocations: 274.2 kB / 0.9766 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/1.332, allocations: 3.44 MB / 0.98 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.332, allocations: 20 kB / 0.98 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.332, allocations: 8 kB / 0.98 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/1.332, allocations: 11.95 kB / 0.98 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.343, allocations: 5.169 MB / 0.9851 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.343, allocations: 4 kB / 0.9851 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/1.344, allocations: 280.6 kB / 0.9853 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/1.346, allocations: 0.5395 MB / 0.9859 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.346, allocations: 79.89 kB / 0.9859 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.361, allocations: 15.24 MB / 1.001 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.361, allocations: 6.562 kB / 1.001 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/1.369, allocations: 3.705 MB / 1.004 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009652/1.37, allocations: 343.4 kB / 1.005 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/1.37, allocations: 55.89 kB / 1.005 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.371, allocations: 55.95 kB / 1.005 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.372, allocations: 174.8 kB / 1.005 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.372, allocations: 79.84 kB / 1.005 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002075/1.374, allocations: 1.329 MB / 1.006 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/1.374, allocations: 4 kB / 1.006 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003651/1.377, allocations: 0.8975 MB / 1.007 GB, free: 6.914 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00943/1.387, allocations: 5.155 MB / 1.012 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005888/1.393, allocations: 2.983 MB / 1.015 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.393, allocations: 0 / 1.015 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/1.397, allocations: 2.175 MB / 1.017 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/1.401, allocations: 0.8266 MB / 1.018 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/1.439, allocations: 19.13 MB / 1.037 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.441, allocations: 1.691 MB / 1.039 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002185/1.443, allocations: 0.5195 MB / 1.039 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.445, allocations: 1.159 MB / 1.04 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/1.445, allocations: 3.938 kB / 1.04 GB, free: 5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/1.628, allocations: 77.95 MB / 1.116 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/18.43, allocations: 11.91 kB / 1.116 GB, free: 7.508 MB / 0.8575 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 22.090523944003507] Failed to read output from testmodel.py, exit status != 0: 18.63124555896502 18.656562419 17.443089152 Calling exit ...