Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.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.001111/0.001111, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001211/0.001211, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.062/1.062, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.6927/0.6927, allocations: 116 MB / 375.2 MB, free: 4.188 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.SplitterT2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Topology.SplitterT2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterT2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.299e-05, allocations: 8.891 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT2): time 0.5269/0.5269, allocations: 219.5 MB / 0.7676 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.5311, allocations: 2.503 MB / 0.7701 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5321, allocations: 82.34 kB / 0.7702 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.5337, allocations: 0.7392 MB / 0.7709 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.5369, allocations: 1.291 MB / 0.7721 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.5401, allocations: 1.31 MB / 0.7734 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.5427, allocations: 2.154 MB / 0.7755 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.5432, allocations: 327.5 kB / 0.7758 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.546, allocations: 1.581 MB / 0.7774 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.5466, allocations: 0.5335 MB / 0.7779 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.5467, allocations: 110.3 kB / 0.778 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.5492, allocations: 1.061 MB / 0.779 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.5493, allocations: 270.8 kB / 0.7793 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.5498, allocations: 474.8 kB / 0.7797 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.5526, allocations: 2.345 MB / 0.782 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5526, allocations: 0 / 0.782 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5526, allocations: 0 / 0.782 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.5526, allocations: 3.938 kB / 0.782 GB, free: 3.203 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002753/0.5553, allocations: 1.882 MB / 0.7839 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5554, allocations: 12.03 kB / 0.7839 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.5557, allocations: 152 kB / 0.784 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.5561, allocations: 191 kB / 0.7842 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5572, allocations: 0.875 MB / 0.7851 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.5573, allocations: 74.05 kB / 0.7851 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5574, allocations: 103.9 kB / 0.7852 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5588, allocations: 1.084 MB / 0.7863 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5588, allocations: 0 / 0.7863 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.5589, allocations: 44 kB / 0.7863 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5589, allocations: 24 kB / 0.7864 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.56, allocations: 0.7635 MB / 0.7871 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.5634, allocations: 2.985 MB / 0.79 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.5643, allocations: 0.5383 MB / 0.7906 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.5649, allocations: 304.7 kB / 0.7908 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.565, allocations: 29.44 kB / 0.7909 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.5657, allocations: 488.8 kB / 0.7913 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.5657, allocations: 0 / 0.7913 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67): time 0.004612/0.5703, allocations: 3.337 MB / 0.7946 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5704, allocations: 251.3 kB / 0.7948 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.5713, allocations: 0.9193 MB / 0.7957 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.5713, allocations: 41.64 kB / 0.7958 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.5717, allocations: 0.5677 MB / 0.7963 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5718, allocations: 230 kB / 0.7965 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.572, allocations: 158.7 kB / 0.7967 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5722, allocations: 334 kB / 0.797 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.5728, allocations: 389.1 kB / 0.7974 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.5737, allocations: 0.5144 MB / 0.7979 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.575, allocations: 0.8438 MB / 0.7987 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.575, allocations: 0 / 0.7987 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001607/0.5766, allocations: 1.124 MB / 0.7998 GB, free: 396 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.5766, allocations: 67.33 kB / 0.7999 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5767, allocations: 7.938 kB / 0.7999 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5767, allocations: 4 kB / 0.7999 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.5772, allocations: 235.8 kB / 0.8001 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.5772, allocations: 11.94 kB / 0.8001 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.5777, allocations: 83.91 kB / 0.8002 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.5778, allocations: 75.92 kB / 0.8003 GB, free: 15.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (84): * Single equations (assignments): 82 * 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.0004562/0.5783, allocations: 258.9 kB / 0.8005 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5784, allocations: 127.2 kB / 0.8006 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.5801, allocations: 1.378 MB / 0.802 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5801, allocations: 8 kB / 0.802 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5801, allocations: 4 kB / 0.802 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5801, allocations: 7.984 kB / 0.802 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.5828, allocations: 2.336 MB / 0.8043 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.5828, allocations: 8.062 kB / 0.8043 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.5833, allocations: 191.8 kB / 0.8045 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.5833, allocations: 11.97 kB / 0.8045 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5833, allocations: 31.98 kB / 0.8045 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.5833, allocations: 4 kB / 0.8045 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5833, allocations: 11.94 kB / 0.8045 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.586, allocations: 1.621 MB / 0.8061 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.5863, allocations: 163 kB / 0.8063 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.5864, allocations: 20 kB / 0.8063 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.5868, allocations: 79.91 kB / 0.8064 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.5869, allocations: 83.81 kB / 0.8065 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.587, allocations: 51.98 kB / 0.8065 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000619/0.5876, allocations: 0.6583 MB / 0.8071 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5876, allocations: 0 / 0.8071 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009617/0.5886, allocations: 315.8 kB / 0.8074 GB, free: 8.379 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (61): * Single equations (assignments): 57 * 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.002795/0.5914, allocations: 2.487 MB / 0.8099 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.5929, allocations: 0.9268 MB / 0.8108 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5929, allocations: 0 / 0.8108 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5936, allocations: 435.5 kB / 0.8112 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5954, allocations: 0.5266 MB / 0.8117 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.607, allocations: 9.046 MB / 0.8205 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.6074, allocations: 0.5075 MB / 0.821 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001426/0.6089, allocations: 0.9928 MB / 0.822 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.6095, allocations: 0.551 MB / 0.8225 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of SimCode: time 2.124e-06/0.6095, allocations: 0 / 0.8225 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/0.6652, allocations: 35.76 MB / 0.8575 GB, free: 5.176 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.718, allocations: 10.86 kB / 0.8575 GB, free: 5.168 MB / 0.698 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2_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_SplitterT2.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT2.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.775762283243239] Failed to read output from testmodel.py, exit status != 0: 8.815375917591155 8.823917526 8.269343543 Calling exit ...