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.0009504/0.0009504, allocations: 101.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.000891/0.000891, allocations: 213.2 kB / 22.25 MB, free: 3.566 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.9643/0.9643, allocations: 230.6 MB / 256 MB, free: 9.598 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.73/0.73, allocations: 150.8 MB / 463.2 MB, free: 6.461 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.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 0.001081/0.001081, allocations: 84.8 kB / 0.6392 GB, free: 32.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1595, allocations: 88.08 MB / 0.7252 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterT1): time 0.6177/0.7772, allocations: 219.9 MB / 0.9399 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005385/0.7826, allocations: 2.502 MB / 0.9424 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.7844, allocations: 86.16 kB / 0.9425 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.7864, allocations: 0.7093 MB / 0.9431 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.7898, allocations: 1.254 MB / 0.9444 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.7932, allocations: 1.298 MB / 0.9456 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002904/0.7961, allocations: 2.065 MB / 0.9477 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.7965, allocations: 332.7 kB / 0.948 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.7986, allocations: 1.237 MB / 0.9492 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.7994, allocations: 0.6371 MB / 0.9498 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.7995, allocations: 109.4 kB / 0.9499 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.8016, allocations: 1.056 MB / 0.9509 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.8018, allocations: 264 kB / 0.9512 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.8022, allocations: 0.5672 MB / 0.9517 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.8053, allocations: 2.282 MB / 0.954 GB, free: 13.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8053, allocations: 0 / 0.954 GB, free: 13.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8053, allocations: 6.188 kB / 0.954 GB, free: 13.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.031e-05/0.8054, allocations: 4 kB / 0.954 GB, free: 13.5 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003365/0.8088, allocations: 1.89 MB / 0.9558 GB, free: 11.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8088, allocations: 8.031 kB / 0.9558 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.809, allocations: 152 kB / 0.956 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.8094, allocations: 194.9 kB / 0.9562 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.8109, allocations: 0.8711 MB / 0.957 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.8109, allocations: 74 kB / 0.9571 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.8111, allocations: 104 kB / 0.9572 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.8127, allocations: 1.092 MB / 0.9583 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.8128, allocations: 3.938 kB / 0.9583 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.8128, allocations: 40 kB / 0.9583 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.8128, allocations: 24 kB / 0.9583 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.8141, allocations: 0.763 MB / 0.9591 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.8187, allocations: 3.135 MB / 0.9621 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.8196, allocations: 0.5567 MB / 0.9627 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.82, allocations: 298 kB / 0.963 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.8201, allocations: 27.92 kB / 0.963 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006544/0.8208, allocations: 481.8 kB / 0.9634 GB, free: 3.547 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 3.296e-06/0.8208, allocations: 4 kB / 0.9634 GB, free: 3.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.004275/0.8251, allocations: 3.401 MB / 0.9668 GB, free: 100 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.8252, allocations: 277 kB / 0.967 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/0.826, allocations: 0.9482 MB / 0.968 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.826, allocations: 37.7 kB / 0.968 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.8264, allocations: 0.5832 MB / 0.9686 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.8268, allocations: 222.1 kB / 0.9688 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.827, allocations: 150.3 kB / 0.9689 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.8271, allocations: 334 kB / 0.9692 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.8277, allocations: 376.8 kB / 0.9696 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.8283, allocations: 0.51 MB / 0.9701 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8294, allocations: 0.8275 MB / 0.9709 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8294, allocations: 0 / 0.9709 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001566/0.831, allocations: 1.115 MB / 0.972 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.8311, allocations: 63.41 kB / 0.972 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8311, allocations: 7.938 kB / 0.9721 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.8311, allocations: 12.27 kB / 0.9721 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.8316, allocations: 231.7 kB / 0.9723 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.8316, allocations: 11.94 kB / 0.9723 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.8321, allocations: 83.89 kB / 0.9724 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.8322, allocations: 71.98 kB / 0.9724 GB, free: 9.992 MB / 0.7136 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.0004435/0.8326, allocations: 264.4 kB / 0.9727 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.8328, allocations: 127.9 kB / 0.9728 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.8343, allocations: 1.38 MB / 0.9742 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.8343, allocations: 11.94 kB / 0.9742 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.8343, allocations: 4 kB / 0.9742 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8343, allocations: 0 / 0.9742 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.8368, allocations: 2.033 MB / 0.9762 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8368, allocations: 7.625 kB / 0.9762 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.8372, allocations: 188 kB / 0.9764 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.8372, allocations: 4 kB / 0.9764 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.8373, allocations: 27.98 kB / 0.9764 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.8373, allocations: 4 kB / 0.9764 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.8373, allocations: 4 kB / 0.9764 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.8392, allocations: 1.511 MB / 0.9779 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.8395, allocations: 163.2 kB / 0.978 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.8396, allocations: 23.89 kB / 0.978 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.84, allocations: 75.89 kB / 0.9781 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.8401, allocations: 83.83 kB / 0.9782 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.8402, allocations: 51.98 kB / 0.9782 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006222/0.8408, allocations: 0.671 MB / 0.9789 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.8408, allocations: 3.938 kB / 0.9789 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008616/0.8417, allocations: 319.8 kB / 0.9792 GB, free: 2.91 MB / 0.7136 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.002703/0.8444, allocations: 2.354 MB / 0.9815 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.8459, allocations: 0.9022 MB / 0.9824 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8459, allocations: 3.938 kB / 0.9824 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.8469, allocations: 408.4 kB / 0.9828 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8486, allocations: 0.5247 MB / 0.9833 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.8594, allocations: 9.003 MB / 0.9921 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.8599, allocations: 0.5033 MB / 0.9926 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001736/0.8616, allocations: 1.008 MB / 0.9936 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.8623, allocations: 0.5461 MB / 0.9941 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of SimCode: time 2.535e-06/0.8623, allocations: 0 / 0.9941 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06114/0.9235, allocations: 35.67 MB / 1.029 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.686, allocations: 22.66 kB / 1.029 GB, free: 15.95 MB / 0.7761 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.745482543483377] Failed to read output from testmodel.py, exit status != 0: 8.782463396899402 8.795223563 7.986613638 Calling exit ...