Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.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.0008812/0.0008812, 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.0009942/0.0009942, 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.018/1.018, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7213/0.7213, allocations: 116 MB / 375.2 MB, free: 4.172 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.SplitterT1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Topology.SplitterT1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterT1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.815e-05, allocations: 5.234 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT1): time 0.5153/0.5154, allocations: 219.5 MB / 0.7676 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.5195, allocations: 2.499 MB / 0.7701 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.52, allocations: 81.91 kB / 0.7701 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5216, allocations: 0.7387 MB / 0.7709 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.5236, allocations: 1.283 MB / 0.7721 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5264, allocations: 1.32 MB / 0.7734 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.5279, allocations: 2.154 MB / 0.7755 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.5283, allocations: 323.3 kB / 0.7758 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.5302, allocations: 1.581 MB / 0.7774 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.5306, allocations: 0.5335 MB / 0.7779 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.5307, allocations: 109.5 kB / 0.778 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.5325, allocations: 1.061 MB / 0.779 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.5326, allocations: 266.8 kB / 0.7793 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.533, allocations: 482.8 kB / 0.7797 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.535, allocations: 2.337 MB / 0.782 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.535, allocations: 0 / 0.782 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.535, allocations: 4 kB / 0.782 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.535, allocations: 0 / 0.782 GB, free: 3.336 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002701/0.5377, allocations: 1.882 MB / 0.7839 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5378, allocations: 8.031 kB / 0.7839 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5379, allocations: 148 kB / 0.784 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.5383, allocations: 191 kB / 0.7842 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5394, allocations: 0.8711 MB / 0.785 GB, free: 148 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.5395, allocations: 74 kB / 0.7851 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.5396, allocations: 115.9 kB / 0.7852 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5409, allocations: 1.083 MB / 0.7863 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5409, allocations: 0 / 0.7863 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.541, allocations: 44 kB / 0.7863 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.541, allocations: 24 kB / 0.7863 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5421, allocations: 0.7629 MB / 0.7871 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.5455, allocations: 3.124 MB / 0.7901 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.5463, allocations: 0.5488 MB / 0.7907 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.5467, allocations: 302.6 kB / 0.791 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.5469, allocations: 15.98 kB / 0.791 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006302/0.5475, allocations: 481.5 kB / 0.7914 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=56): time 1.663e-06/0.5475, allocations: 0 / 0.7914 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63): time 0.003871/0.5514, allocations: 3.424 MB / 0.7948 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5515, allocations: 273 kB / 0.795 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.5522, allocations: 0.9559 MB / 0.796 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.5523, allocations: 37.7 kB / 0.796 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.5526, allocations: 0.5794 MB / 0.7966 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.5529, allocations: 214.1 kB / 0.7968 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.5531, allocations: 154.3 kB / 0.7969 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.5532, allocations: 330 kB / 0.7972 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.5537, allocations: 380.8 kB / 0.7976 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.5543, allocations: 0.5139 MB / 0.7981 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5554, allocations: 0.8182 MB / 0.7989 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5554, allocations: 4 kB / 0.7989 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001395/0.5568, allocations: 1.108 MB / 0.8 GB, free: 272 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.5569, allocations: 63.39 kB / 0.8001 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5569, allocations: 7.938 kB / 0.8001 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5569, allocations: 8 kB / 0.8001 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.5574, allocations: 231.7 kB / 0.8003 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5574, allocations: 11.98 kB / 0.8003 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.5577, allocations: 91.73 kB / 0.8004 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.5578, allocations: 71.98 kB / 0.8005 GB, free: 15.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (m_flow_pulse2.count,$PRE.m_flow_pulse2.count,m_flow_pulse2.T_start,$PRE.m_flow_pulse2.T_start,$whenCondition2,m_flow_pulse1.count,$PRE.m_flow_pulse1.count,m_flow_pulse1.T_start,$PRE.m_flow_pulse1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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.0002787/0.5581, allocations: 266.3 kB / 0.8007 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5582, allocations: 131.2 kB / 0.8008 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.5597, allocations: 1.365 MB / 0.8022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5597, allocations: 8 kB / 0.8022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.5597, allocations: 4 kB / 0.8022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5597, allocations: 7.922 kB / 0.8022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.5623, allocations: 2.037 MB / 0.8042 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5623, allocations: 4 kB / 0.8042 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.5627, allocations: 184 kB / 0.8044 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.5627, allocations: 4 kB / 0.8044 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.5627, allocations: 27.98 kB / 0.8044 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/0.5628, allocations: 11.98 kB / 0.8044 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5628, allocations: 7.984 kB / 0.8044 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.5646, allocations: 1.496 MB / 0.8059 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.5648, allocations: 163.2 kB / 0.806 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.5649, allocations: 19.98 kB / 0.806 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.5652, allocations: 72.78 kB / 0.8061 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5653, allocations: 79.83 kB / 0.8062 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.5654, allocations: 47.98 kB / 0.8062 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005255/0.5659, allocations: 0.6789 MB / 0.8069 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5659, allocations: 0 / 0.8069 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006842/0.5666, allocations: 323.7 kB / 0.8072 GB, free: 8.703 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (firstOrder2.y,firstOrder1.y) * Number of discrete variables: 6 ($whenCondition1,m_flow_pulse1.T_start,m_flow_pulse1.count,$whenCondition2,m_flow_pulse2.T_start,m_flow_pulse2.count) * Number of discrete states: 2 (m_flow_pulse2.count,m_flow_pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * 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.002377/0.569, allocations: 2.36 MB / 0.8095 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.5702, allocations: 0.9005 MB / 0.8104 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5702, allocations: 3.938 kB / 0.8104 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008196/0.571, allocations: 422.7 kB / 0.8108 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5724, allocations: 0.5379 MB / 0.8113 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/0.5815, allocations: 9.017 MB / 0.8201 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5818, allocations: 0.5033 MB / 0.8206 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001083/0.5829, allocations: 0.9968 MB / 0.8216 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.5834, allocations: 0.5432 MB / 0.8221 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of SimCode: time 1.643e-06/0.5834, allocations: 3.938 kB / 0.8221 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.6314, allocations: 35.73 MB / 0.857 GB, free: 5.695 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.558, allocations: 10.59 kB / 0.857 GB, free: 5.688 MB / 0.698 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1_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_SplitterT1.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterT1.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.627649432979524] Failed to read output from testmodel.py, exit status != 0: 8.657532880082726 8.670008691 8.133209335 Calling exit ...