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.0008274/0.0008274, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009715/0.0009715, allocations: 216.1 kB / 22.25 MB, free: 3.719 MB / 13.93 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 0.9573/0.9573, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7745/0.7745, allocations: 150.8 MB / 463.2 MB, free: 6.457 MB / 362.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 0.001634/0.001634, allocations: 82.47 kB / 0.6392 GB, free: 32.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1761, allocations: 88.08 MB / 0.7252 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT2): time 0.6061/0.7821, allocations: 219.9 MB / 0.9399 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.7859, allocations: 2.501 MB / 0.9424 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.7869, allocations: 84.59 kB / 0.9424 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.7885, allocations: 0.7177 MB / 0.9431 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.7916, allocations: 1.251 MB / 0.9444 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.7946, allocations: 1.29 MB / 0.9456 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002539/0.7972, allocations: 2.062 MB / 0.9476 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.7977, allocations: 338.1 kB / 0.948 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.8001, allocations: 1.239 MB / 0.9492 GB, free: 332 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.8009, allocations: 0.6473 MB / 0.9498 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.801, allocations: 109.7 kB / 0.9499 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.8032, allocations: 1.053 MB / 0.9509 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.8034, allocations: 268.1 kB / 0.9512 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.8039, allocations: 0.5729 MB / 0.9518 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.8072, allocations: 2.282 MB / 0.954 GB, free: 13.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8072, allocations: 0 / 0.954 GB, free: 13.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8072, allocations: 2.812 kB / 0.954 GB, free: 13.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.485e-05/0.8072, allocations: 3.938 kB / 0.954 GB, free: 13.48 MB / 0.698 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.00331/0.8105, allocations: 1.892 MB / 0.9558 GB, free: 11.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8106, allocations: 12.03 kB / 0.9558 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.8107, allocations: 152 kB / 0.956 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.8112, allocations: 194.9 kB / 0.9562 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.8124, allocations: 0.8711 MB / 0.957 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.8125, allocations: 74 kB / 0.9571 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.8126, allocations: 107.9 kB / 0.9572 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.814, allocations: 1.08 MB / 0.9583 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.814, allocations: 4 kB / 0.9583 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.8141, allocations: 40 kB / 0.9583 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.8141, allocations: 28 kB / 0.9583 GB, free: 9.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.8153, allocations: 0.7636 MB / 0.9591 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.8189, allocations: 2.992 MB / 0.962 GB, free: 5.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.8197, allocations: 0.5384 MB / 0.9625 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.8201, allocations: 302.7 kB / 0.9628 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.8202, allocations: 27.92 kB / 0.9628 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.8209, allocations: 492.7 kB / 0.9633 GB, free: 3.715 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.8209, allocations: 4 kB / 0.9633 GB, free: 3.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=67): time 0.004308/0.8252, allocations: 3.327 MB / 0.9666 GB, free: 352 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/0.8253, allocations: 247.2 kB / 0.9668 GB, free: 48 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.8262, allocations: 0.927 MB / 0.9677 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.8262, allocations: 45.64 kB / 0.9677 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.8265, allocations: 0.5638 MB / 0.9683 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.8267, allocations: 238 kB / 0.9685 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.8271, allocations: 154.6 kB / 0.9687 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.8272, allocations: 330 kB / 0.969 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.8278, allocations: 389.1 kB / 0.9694 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.8285, allocations: 0.5144 MB / 0.9699 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.8296, allocations: 0.845 MB / 0.9707 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8297, allocations: 0 / 0.9707 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001543/0.8312, allocations: 1.128 MB / 0.9718 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.8312, allocations: 63.39 kB / 0.9718 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8313, allocations: 4 kB / 0.9718 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8313, allocations: 8 kB / 0.9719 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.8318, allocations: 236.7 kB / 0.9721 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8318, allocations: 4 kB / 0.9721 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.8323, allocations: 83.86 kB / 0.9722 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.8324, allocations: 79.98 kB / 0.9722 GB, free: 10.25 MB / 0.7136 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.0003841/0.8327, allocations: 267.7 kB / 0.9725 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8329, allocations: 123.2 kB / 0.9726 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.8344, allocations: 1.369 MB / 0.974 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8344, allocations: 12.12 kB / 0.974 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8344, allocations: 4 kB / 0.974 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.8344, allocations: 3.984 kB / 0.974 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.8373, allocations: 2.361 MB / 0.9763 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8373, allocations: 4 kB / 0.9763 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.8377, allocations: 192 kB / 0.9765 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.8377, allocations: 8 kB / 0.9765 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.8378, allocations: 35.97 kB / 0.9765 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.8378, allocations: 7.438 kB / 0.9765 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.8378, allocations: 11.92 kB / 0.9765 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.8399, allocations: 1.622 MB / 0.9781 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.8402, allocations: 167.1 kB / 0.9783 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.8404, allocations: 19.94 kB / 0.9783 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.8408, allocations: 75.89 kB / 0.9784 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.841, allocations: 75.89 kB / 0.9784 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.841, allocations: 55.92 kB / 0.9785 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007039/0.8417, allocations: 0.67 MB / 0.9791 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8417, allocations: 0 / 0.9791 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001049/0.8428, allocations: 319.7 kB / 0.9794 GB, free: 2.711 MB / 0.7136 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.002617/0.8454, allocations: 2.479 MB / 0.9819 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.8472, allocations: 0.9112 MB / 0.9828 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8472, allocations: 4 kB / 0.9828 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.8479, allocations: 430.4 kB / 0.9832 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.8495, allocations: 0.533 MB / 0.9837 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.8604, allocations: 9.017 MB / 0.9925 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.8608, allocations: 0.5074 MB / 0.993 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00147/0.8623, allocations: 0.9967 MB / 0.994 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/0.863, allocations: 0.55 MB / 0.9945 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of SimCode: time 2.946e-06/0.863, allocations: 4 kB / 0.9945 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.9212, allocations: 35.69 MB / 1.029 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/8.303, allocations: 4.062 kB / 1.029 GB, free: 15.58 MB / 0.7761 GB " [Timeout remaining time 652] (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.436272827908397] Failed to read output from testmodel.py, exit status != 0: 8.402019897475839 8.41834441 7.60837517 Calling exit ...