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.0008844/0.0008844, 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.001001/0.001001, 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.033/1.033, allocations: 177.1 MB / 202.9 MB, free: 5.699 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.8045/0.8045, allocations: 116 MB / 375.4 MB, free: 4.125 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.364e-06/2.364e-06, allocations: 0 / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.545e-05, allocations: 6.25 kB / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT1): time 0.522/0.5221, allocations: 219.5 MB / 0.7679 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.5275, allocations: 2.493 MB / 0.7703 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.5291, allocations: 84.41 kB / 0.7704 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.531, allocations: 0.7406 MB / 0.7711 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.5345, allocations: 1.287 MB / 0.7724 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.538, allocations: 1.323 MB / 0.7736 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.5411, allocations: 2.15 MB / 0.7757 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.5416, allocations: 327.4 kB / 0.7761 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.5442, allocations: 1.577 MB / 0.7776 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.5451, allocations: 0.5335 MB / 0.7781 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.5452, allocations: 108 kB / 0.7782 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.5472, allocations: 1.065 MB / 0.7793 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.5474, allocations: 266.8 kB / 0.7795 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.5478, allocations: 470.8 kB / 0.78 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.5508, allocations: 2.341 MB / 0.7823 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5508, allocations: 0 / 0.7823 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5508, allocations: 0 / 0.7823 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.5509, allocations: 4 kB / 0.7823 GB, free: 3.117 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.002707/0.5536, allocations: 1.882 MB / 0.7841 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5536, allocations: 12.03 kB / 0.7841 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.5538, allocations: 148 kB / 0.7842 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.5542, allocations: 191 kB / 0.7844 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.5557, allocations: 0.9416 MB / 0.7853 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.5558, allocations: 73.94 kB / 0.7854 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.5559, allocations: 115.8 kB / 0.7855 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.5573, allocations: 1.084 MB / 0.7866 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5573, allocations: 0 / 0.7866 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.5574, allocations: 40 kB / 0.7866 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.5574, allocations: 24 kB / 0.7866 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.5585, allocations: 0.7629 MB / 0.7874 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.5621, allocations: 3.16 MB / 0.7905 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.563, allocations: 0.545 MB / 0.791 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.5634, allocations: 302.6 kB / 0.7913 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.5635, allocations: 19.98 kB / 0.7913 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000902/0.5644, allocations: 473.7 kB / 0.7918 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=56): time 2.916e-06/0.5644, allocations: 8 kB / 0.7918 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63): time 0.004184/0.5686, allocations: 3.42 MB / 0.7951 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5687, allocations: 277.1 kB / 0.7954 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.5696, allocations: 0.9559 MB / 0.7963 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.5696, allocations: 41.69 kB / 0.7964 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.5699, allocations: 0.5716 MB / 0.7969 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5701, allocations: 218.1 kB / 0.7971 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.5703, allocations: 154.3 kB / 0.7973 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.5703, allocations: 337.9 kB / 0.7976 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.5709, allocations: 376.8 kB / 0.7979 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.5715, allocations: 0.5023 MB / 0.7984 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.5729, allocations: 0.8223 MB / 0.7992 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5729, allocations: 4 kB / 0.7992 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00148/0.5744, allocations: 1.104 MB / 0.8003 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.5745, allocations: 67.39 kB / 0.8004 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5745, allocations: 4 kB / 0.8004 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5745, allocations: 8 kB / 0.8004 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.575, allocations: 231.6 kB / 0.8006 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.575, allocations: 8 kB / 0.8006 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.5754, allocations: 95.73 kB / 0.8007 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.5755, allocations: 71.98 kB / 0.8008 GB, free: 15.45 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.000393/0.5759, allocations: 266.3 kB / 0.801 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.576, allocations: 127.2 kB / 0.8012 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.5776, allocations: 1.374 MB / 0.8025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5776, allocations: 8 kB / 0.8025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5776, allocations: 4 kB / 0.8025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.5776, allocations: 7.922 kB / 0.8025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.5799, allocations: 2.041 MB / 0.8045 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5799, allocations: 4 kB / 0.8045 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.5803, allocations: 183.7 kB / 0.8047 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5803, allocations: 4 kB / 0.8047 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.5803, allocations: 32.14 kB / 0.8047 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5803, allocations: 4 kB / 0.8047 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5803, allocations: 4 kB / 0.8047 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.5825, allocations: 1.5 MB / 0.8062 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5828, allocations: 163.1 kB / 0.8064 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.583, allocations: 15.98 kB / 0.8064 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.5834, allocations: 80.84 kB / 0.8065 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.5835, allocations: 75.83 kB / 0.8065 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.5836, allocations: 51.98 kB / 0.8066 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006326/0.5842, allocations: 0.6788 MB / 0.8072 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.5842, allocations: 0 / 0.8072 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008595/0.5851, allocations: 315.7 kB / 0.8075 GB, free: 8.379 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.002666/0.5877, allocations: 2.364 MB / 0.8098 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.5891, allocations: 0.9056 MB / 0.8107 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5891, allocations: 0 / 0.8107 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006535/0.5898, allocations: 422.4 kB / 0.8111 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.5913, allocations: 0.5313 MB / 0.8117 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.6019, allocations: 9.019 MB / 0.8205 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.6023, allocations: 0.4994 MB / 0.8209 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001318/0.6036, allocations: 1.005 MB / 0.8219 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.6042, allocations: 0.5471 MB / 0.8225 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of SimCode: time 1.993e-06/0.6042, allocations: 0 / 0.8225 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05996/0.6642, allocations: 35.76 MB / 0.8574 GB, free: 5.336 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.804, allocations: 3.938 kB / 0.8574 GB, free: 5.332 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: 12.02860108204186] Failed to read output from testmodel.py, exit status != 0: 8.903189360164106 8.916706146 8.363220459 Calling exit ...