Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.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.001259/0.001259, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001227/0.001227, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.015/1.015, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.7185/0.7185, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Idealized.Tests.Topology.SplitterX,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Topology.SplitterX,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.6e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterX): time 0.5536/0.5536, allocations: 250.4 MB / 0.7978 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005765/0.5594, allocations: 3.454 MB / 0.8012 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.5614, allocations: 107 kB / 0.8013 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.5644, allocations: 0.9618 MB / 0.8022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.5694, allocations: 1.75 MB / 0.8039 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.5735, allocations: 1.654 MB / 0.8055 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.5773, allocations: 2.851 MB / 0.8083 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.5785, allocations: 480.1 kB / 0.8088 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.582, allocations: 1.936 MB / 0.8107 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5831, allocations: 0.7399 MB / 0.8114 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.5834, allocations: 157.5 kB / 0.8116 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.5864, allocations: 1.408 MB / 0.8129 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.5867, allocations: 366.4 kB / 0.8133 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008868/0.5876, allocations: 0.6352 MB / 0.8139 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006034/0.5936, allocations: 3.104 MB / 0.8169 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5936, allocations: 0 / 0.8169 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5936, allocations: 0 / 0.8169 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001056/0.5937, allocations: 0 / 0.8169 GB, free: 15.42 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004997/0.5987, allocations: 2.424 MB / 0.8193 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.5988, allocations: 12.03 kB / 0.8193 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.599, allocations: 194.5 kB / 0.8195 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007203/0.5997, allocations: 262.6 kB / 0.8197 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.6015, allocations: 1.069 MB / 0.8208 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.6016, allocations: 110.6 kB / 0.8209 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.6018, allocations: 147.9 kB / 0.821 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.604, allocations: 1.483 MB / 0.8225 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.604, allocations: 4 kB / 0.8225 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.6041, allocations: 52 kB / 0.8225 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.6041, allocations: 32 kB / 0.8226 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.6061, allocations: 1.086 MB / 0.8236 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.6111, allocations: 3.826 MB / 0.8274 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6122, allocations: 0.6833 MB / 0.828 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.6128, allocations: 423.9 kB / 0.8284 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.6129, allocations: 27.98 kB / 0.8285 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008352/0.6137, allocations: 0.6617 MB / 0.8291 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=82): time 2.935e-06/0.6138, allocations: 3.938 kB / 0.8291 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92): time 0.006652/0.6204, allocations: 5.112 MB / 0.8341 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.6205, allocations: 307.1 kB / 0.8344 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6216, allocations: 1.137 MB / 0.8355 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.6216, allocations: 45.7 kB / 0.8355 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.6221, allocations: 0.7293 MB / 0.8363 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.6223, allocations: 329.3 kB / 0.8366 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.6227, allocations: 214.5 kB / 0.8368 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.6228, allocations: 337.9 kB / 0.8371 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.6236, allocations: 0.5244 MB / 0.8376 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.6245, allocations: 0.6982 MB / 0.8383 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.6262, allocations: 1.181 MB / 0.8394 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.6262, allocations: 0 / 0.8394 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002291/0.6285, allocations: 1.53 MB / 0.8409 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.6286, allocations: 67.39 kB / 0.841 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.6286, allocations: 4.875 kB / 0.841 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/0.6286, allocations: 12 kB / 0.841 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.6293, allocations: 335.5 kB / 0.8413 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.6294, allocations: 19.92 kB / 0.8414 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.6301, allocations: 123.8 kB / 0.8415 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.6303, allocations: 111.9 kB / 0.8416 GB, free: 5.461 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (m_flow_pulse1.count,$PRE.m_flow_pulse1.count,m_flow_pulse1.T_start,$PRE.m_flow_pulse1.T_start,m_flow_pulse2.count,$PRE.m_flow_pulse2.count,m_flow_pulse2.T_start,$PRE.m_flow_pulse2.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000733/0.631, allocations: 309.6 kB / 0.8419 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6312, allocations: 155 kB / 0.842 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6338, allocations: 2.006 MB / 0.844 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.6338, allocations: 12 kB / 0.844 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.6338, allocations: 0.875 kB / 0.844 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6338, allocations: 7.984 kB / 0.844 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.6381, allocations: 3.264 MB / 0.8472 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6381, allocations: 4 kB / 0.8472 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.6387, allocations: 272.1 kB / 0.8475 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.6387, allocations: 8 kB / 0.8475 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.6387, allocations: 43.3 kB / 0.8475 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.6387, allocations: 11.94 kB / 0.8475 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6387, allocations: 7.938 kB / 0.8475 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.6416, allocations: 2.193 MB / 0.8497 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.6421, allocations: 218.8 kB / 0.8499 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6423, allocations: 24 kB / 0.8499 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.6429, allocations: 111.9 kB / 0.85 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.6431, allocations: 127.7 kB / 0.8501 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.6432, allocations: 63.98 kB / 0.8502 GB, free: 12.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001021/0.6442, allocations: 0.8189 MB / 0.851 GB, free: 11.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6442, allocations: 4 kB / 0.851 GB, free: 11.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001272/0.6455, allocations: 419.7 kB / 0.8514 GB, free: 11.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow_pulse2.T_start,m_flow_pulse2.count,m_flow_pulse1.T_start,m_flow_pulse1.count) * Number of discrete states: 2 (m_flow_pulse1.count,m_flow_pulse2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00361/0.6491, allocations: 3.13 MB / 0.8545 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.6511, allocations: 1.258 MB / 0.8557 GB, free: 6.699 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6511, allocations: 4.062 kB / 0.8557 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6521, allocations: 0.6252 MB / 0.8563 GB, free: 6.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.6543, allocations: 0.7151 MB / 0.857 GB, free: 5.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.6685, allocations: 11.63 MB / 0.8683 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.669, allocations: 0.661 MB / 0.869 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001894/0.6709, allocations: 1.434 MB / 0.8704 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/0.6717, allocations: 0.7579 MB / 0.8711 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/0.6717, allocations: 0 / 0.8711 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.745, allocations: 46.94 MB / 0.917 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/9.24, allocations: 14.62 kB / 0.917 GB, free: 8.055 MB / 0.7605 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterX.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.386907866224647] Failed to read output from testmodel.py, exit status != 0: 9.345794497989118 9.353768691 8.758211491 Calling exit ...