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.001195/0.001195, allocations: 80.23 kB / 19.27 MB, free: 0.6055 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.002342/0.002342, 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.133/1.133, allocations: 177.1 MB / 202.9 MB, free: 5.707 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.8627/0.8627, allocations: 116 MB / 375.4 MB, free: 4.148 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.553e-06/1.553e-06, allocations: 0 / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.396e-05, allocations: 4.984 kB / 0.5535 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT2): time 0.5219/0.522, allocations: 219.5 MB / 0.7679 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.5263, allocations: 2.493 MB / 0.7703 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.527, allocations: 88.56 kB / 0.7704 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.5289, allocations: 0.7371 MB / 0.7711 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.5313, allocations: 1.287 MB / 0.7724 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.5345, allocations: 1.321 MB / 0.7736 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.5364, allocations: 2.143 MB / 0.7757 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.5369, allocations: 327.5 kB / 0.776 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.5387, allocations: 1.585 MB / 0.7776 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.5392, allocations: 0.5335 MB / 0.7781 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.5393, allocations: 112 kB / 0.7782 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.5411, allocations: 1.068 MB / 0.7793 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.5413, allocations: 262.8 kB / 0.7795 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.5416, allocations: 478.8 kB / 0.78 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.5435, allocations: 2.337 MB / 0.7823 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5435, allocations: 0 / 0.7823 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5435, allocations: 0 / 0.7823 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.5435, allocations: 4 kB / 0.7823 GB, free: 3.254 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.002237/0.5458, allocations: 1.886 MB / 0.7841 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5458, allocations: 8.031 kB / 0.7841 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.5459, allocations: 148 kB / 0.7842 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.5462, allocations: 191 kB / 0.7844 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.5472, allocations: 0.9454 MB / 0.7854 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.5472, allocations: 73.98 kB / 0.7854 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5474, allocations: 115.8 kB / 0.7855 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.5486, allocations: 1.084 MB / 0.7866 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5486, allocations: 0 / 0.7866 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.5487, allocations: 43.94 kB / 0.7866 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5487, allocations: 24 kB / 0.7867 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.5497, allocations: 0.7597 MB / 0.7874 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.5526, allocations: 3.021 MB / 0.7903 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.5534, allocations: 0.5432 MB / 0.7909 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.5538, allocations: 302.1 kB / 0.7912 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/0.5539, allocations: 19.95 kB / 0.7912 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.5544, allocations: 0.4919 MB / 0.7917 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/0.5544, allocations: 0 / 0.7917 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67): time 0.003856/0.5583, allocations: 3.324 MB / 0.7949 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.5584, allocations: 259.3 kB / 0.7952 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.5591, allocations: 0.9193 MB / 0.7961 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.5591, allocations: 37.7 kB / 0.7961 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.5595, allocations: 0.5638 MB / 0.7966 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5597, allocations: 238 kB / 0.7969 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.5599, allocations: 150.6 kB / 0.797 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.56, allocations: 334 kB / 0.7973 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.5605, allocations: 389.1 kB / 0.7977 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.5611, allocations: 0.5145 MB / 0.7982 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5622, allocations: 0.8534 MB / 0.799 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5622, allocations: 4 kB / 0.799 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001343/0.5636, allocations: 1.105 MB / 0.8001 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.5636, allocations: 67.66 kB / 0.8002 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5636, allocations: 7.938 kB / 0.8002 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5636, allocations: 8 kB / 0.8002 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.5641, allocations: 235.6 kB / 0.8004 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.5641, allocations: 12.03 kB / 0.8004 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.5645, allocations: 87.8 kB / 0.8005 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.5645, allocations: 71.98 kB / 0.8006 GB, free: 15.84 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.0002887/0.5648, allocations: 258.4 kB / 0.8008 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5649, allocations: 123.2 kB / 0.801 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.5664, allocations: 1.384 MB / 0.8023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5664, allocations: 8 kB / 0.8023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5664, allocations: 4 kB / 0.8023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5664, allocations: 0 / 0.8023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5687, allocations: 2.35 MB / 0.8046 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5687, allocations: 4 kB / 0.8046 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.5691, allocations: 192.1 kB / 0.8048 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5691, allocations: 8 kB / 0.8048 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.5691, allocations: 31.92 kB / 0.8048 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5691, allocations: 4 kB / 0.8048 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.5691, allocations: 12.44 kB / 0.8049 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.5709, allocations: 1.622 MB / 0.8064 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5711, allocations: 171 kB / 0.8066 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.5712, allocations: 19.98 kB / 0.8066 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.5716, allocations: 71.91 kB / 0.8067 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5717, allocations: 95.62 kB / 0.8068 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.5718, allocations: 51.98 kB / 0.8068 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004981/0.5723, allocations: 0.6545 MB / 0.8075 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.5723, allocations: 0 / 0.8075 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006923/0.573, allocations: 319.8 kB / 0.8078 GB, free: 8.316 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.002476/0.5754, allocations: 2.475 MB / 0.8102 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.5768, allocations: 0.918 MB / 0.8111 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5768, allocations: 0 / 0.8111 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.5774, allocations: 444.5 kB / 0.8115 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.5789, allocations: 0.5368 MB / 0.812 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008766/0.5876, allocations: 9.042 MB / 0.8209 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.588, allocations: 0.4997 MB / 0.8214 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001062/0.5891, allocations: 1.005 MB / 0.8223 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.5896, allocations: 0.551 MB / 0.8229 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of SimCode: time 3.9e-07/0.5896, allocations: 4 kB / 0.8229 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.6434, allocations: 35.77 MB / 0.8578 GB, free: 5.094 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.589, allocations: 8 kB / 0.8578 GB, free: 5.086 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.983623007312417] Failed to read output from testmodel.py, exit status != 0: 8.699538671411574 8.709326638 8.164049092 Calling exit ...