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.0009315/0.0009315, allocations: 81.67 kB / 19.27 MB, free: 0.6016 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.001054/0.001054, allocations: 162 kB / 22.57 MB, free: 1.949 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.121/1.121, allocations: 177.1 MB / 202.9 MB, free: 5.695 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.8652/0.8652, allocations: 116 MB / 375.4 MB, free: 4.16 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.112e-06/1.112e-06, allocations: 0 / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.083e-05, allocations: 4.844 kB / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterX): time 0.5451/0.5451, allocations: 250.4 MB / 0.798 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.5502, allocations: 3.454 MB / 0.8014 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.5508, allocations: 107 kB / 0.8015 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.5527, allocations: 0.9657 MB / 0.8025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.5553, allocations: 1.746 MB / 0.8042 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.5588, allocations: 1.658 MB / 0.8058 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.5609, allocations: 2.851 MB / 0.8086 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.5614, allocations: 484.1 kB / 0.809 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.5633, allocations: 1.936 MB / 0.8109 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.5639, allocations: 0.7321 MB / 0.8116 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.564, allocations: 152 kB / 0.8118 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5665, allocations: 1.415 MB / 0.8132 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.5667, allocations: 362.4 kB / 0.8135 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.5671, allocations: 0.6352 MB / 0.8141 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.5695, allocations: 3.104 MB / 0.8172 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5695, allocations: 0 / 0.8172 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5695, allocations: 0 / 0.8172 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.5696, allocations: 4 kB / 0.8172 GB, free: 15.36 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.00269/0.5722, allocations: 2.424 MB / 0.8195 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5723, allocations: 8.031 kB / 0.8195 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.5724, allocations: 194.5 kB / 0.8197 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.5729, allocations: 262.6 kB / 0.82 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.5741, allocations: 1.159 MB / 0.8211 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.5741, allocations: 106.6 kB / 0.8212 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5743, allocations: 143.9 kB / 0.8213 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.5759, allocations: 1.489 MB / 0.8228 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.576, allocations: 0 / 0.8228 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.576, allocations: 56 kB / 0.8228 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.5761, allocations: 32 kB / 0.8229 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5775, allocations: 1.082 MB / 0.8239 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.5813, allocations: 3.877 MB / 0.8277 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.5823, allocations: 0.6882 MB / 0.8284 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.5829, allocations: 424.4 kB / 0.8288 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.896e-05/0.583, allocations: 27.98 kB / 0.8288 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007909/0.5838, allocations: 0.6461 MB / 0.8295 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=82): time 1.823e-06/0.5838, allocations: 0 / 0.8295 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92): time 0.005738/0.5895, allocations: 5.126 MB / 0.8345 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.5896, allocations: 303.1 kB / 0.8347 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.5904, allocations: 1.141 MB / 0.8359 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.5905, allocations: 41.7 kB / 0.8359 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.5909, allocations: 0.7372 MB / 0.8366 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.591, allocations: 325.2 kB / 0.8369 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.5912, allocations: 206.6 kB / 0.8371 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.5913, allocations: 341.9 kB / 0.8375 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/0.5921, allocations: 0.5244 MB / 0.838 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008544/0.593, allocations: 0.6982 MB / 0.8386 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.5946, allocations: 1.184 MB / 0.8398 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5946, allocations: 0 / 0.8398 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00202/0.5966, allocations: 1.53 MB / 0.8413 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.5966, allocations: 59.41 kB / 0.8414 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5966, allocations: 4 kB / 0.8414 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5967, allocations: 11.98 kB / 0.8414 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.5973, allocations: 343.5 kB / 0.8417 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5973, allocations: 11.94 kB / 0.8417 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.5978, allocations: 127.8 kB / 0.8418 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5979, allocations: 107.9 kB / 0.8419 GB, free: 5.273 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.0003651/0.5982, allocations: 317.6 kB / 0.8422 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5984, allocations: 159 kB / 0.8424 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.6004, allocations: 2.014 MB / 0.8444 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6004, allocations: 8 kB / 0.8444 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6004, allocations: 7.938 kB / 0.8444 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6005, allocations: 7.984 kB / 0.8444 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.6038, allocations: 3.252 MB / 0.8476 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6038, allocations: 6.438 kB / 0.8476 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.6044, allocations: 280.1 kB / 0.8478 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6044, allocations: 8 kB / 0.8478 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.6044, allocations: 39.97 kB / 0.8479 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6044, allocations: 11.94 kB / 0.8479 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6045, allocations: 8 kB / 0.8479 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.6071, allocations: 2.186 MB / 0.85 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6074, allocations: 218.8 kB / 0.8502 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6075, allocations: 23.98 kB / 0.8503 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.608, allocations: 119.9 kB / 0.8504 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.6082, allocations: 111.7 kB / 0.8505 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.6083, allocations: 67.98 kB / 0.8505 GB, free: 12.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006732/0.6089, allocations: 0.8189 MB / 0.8513 GB, free: 11.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.6089, allocations: 0 / 0.8513 GB, free: 11.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008861/0.6098, allocations: 423.7 kB / 0.8517 GB, free: 11.01 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.003467/0.6133, allocations: 3.129 MB / 0.8548 GB, free: 7.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.615, allocations: 1.258 MB / 0.856 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.615, allocations: 0 / 0.856 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6161, allocations: 0.6214 MB / 0.8566 GB, free: 5.883 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6179, allocations: 0.7093 MB / 0.8573 GB, free: 5.195 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6299, allocations: 11.64 MB / 0.8687 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.6304, allocations: 0.6532 MB / 0.8693 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001546/0.6319, allocations: 1.442 MB / 0.8707 GB, free: 7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.6327, allocations: 0.754 MB / 0.8715 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.6327, allocations: 7.938 kB / 0.8715 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/0.6867, allocations: 46.97 MB / 0.9174 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.323, allocations: 0 / 0.9174 GB, free: 7.832 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.649468288756907] Failed to read output from testmodel.py, exit status != 0: 9.42528433073312 9.434610842 8.86326102 Calling exit ...