Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.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.001224/0.001224, 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.001224/0.001224, allocations: 213.2 kB / 22.25 MB, free: 3.586 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 1/1, allocations: 230.6 MB / 256 MB, free: 9.617 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.7689/0.7689, allocations: 150.8 MB / 463.3 MB, free: 6.445 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.SplitterX,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Topology.SplitterX,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Topology_SplitterX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 88.64 kB / 0.6392 GB, free: 32.58 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1836, allocations: 88.08 MB / 0.7252 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Topology.SplitterX): time 0.6076/0.7912, allocations: 250.9 MB / 0.9702 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.797, allocations: 3.454 MB / 0.9736 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.7986, allocations: 103.1 kB / 0.9737 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.8019, allocations: 0.947 MB / 0.9746 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.8079, allocations: 1.689 MB / 0.9763 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.8116, allocations: 1.627 MB / 0.9779 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.8145, allocations: 2.746 MB / 0.9806 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.8151, allocations: 484.1 kB / 0.981 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.8174, allocations: 1.483 MB / 0.9825 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.8187, allocations: 0.8707 MB / 0.9833 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.8189, allocations: 148 kB / 0.9835 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.8218, allocations: 1.401 MB / 0.9848 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.8221, allocations: 370.4 kB / 0.9852 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007531/0.8228, allocations: 0.762 MB / 0.9859 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.8271, allocations: 3.048 MB / 0.9889 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8271, allocations: 0 / 0.9889 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8271, allocations: 0 / 0.9889 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.071e-05/0.8271, allocations: 0 / 0.9889 GB, free: 9.691 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004151/0.8313, allocations: 2.447 MB / 0.9913 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.8314, allocations: 8.031 kB / 0.9913 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.8315, allocations: 194.5 kB / 0.9915 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.8322, allocations: 262.6 kB / 0.9917 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.8337, allocations: 1.084 MB / 0.9928 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.8338, allocations: 102.6 kB / 0.9929 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.834, allocations: 140 kB / 0.993 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.8358, allocations: 1.485 MB / 0.9945 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.8359, allocations: 4 kB / 0.9945 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.8359, allocations: 52 kB / 0.9945 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.836, allocations: 36 kB / 0.9946 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.8376, allocations: 1.088 MB / 0.9956 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.8416, allocations: 3.833 MB / 0.9994 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.8426, allocations: 0.6873 MB / 1 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.8432, allocations: 419.7 kB / 1 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.8434, allocations: 31.98 kB / 1 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.8442, allocations: 0.6573 MB / 1.001 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.8442, allocations: 0 / 1.001 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.006905/0.8511, allocations: 5.112 MB / 1.006 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8512, allocations: 302.7 kB / 1.006 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.8523, allocations: 1.137 MB / 1.008 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.8524, allocations: 45.7 kB / 1.008 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.8529, allocations: 0.741 MB / 1.008 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8531, allocations: 321.2 kB / 1.009 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.8534, allocations: 210.6 kB / 1.009 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8535, allocations: 345.9 kB / 1.009 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009661/0.8545, allocations: 0.5244 MB / 1.01 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.8554, allocations: 0.6988 MB / 1.01 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.8571, allocations: 1.191 MB / 1.011 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.8571, allocations: 4 kB / 1.011 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002313/0.8594, allocations: 1.516 MB / 1.013 GB, free: 380 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.8595, allocations: 73.27 kB / 1.013 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8595, allocations: 4 kB / 1.013 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.8595, allocations: 15.31 kB / 1.013 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.8602, allocations: 343.6 kB / 1.013 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.8603, allocations: 15.94 kB / 1.013 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.8609, allocations: 123.8 kB / 1.013 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.8611, allocations: 99.98 kB / 1.014 GB, free: 15.7 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (114): * Single equations (assignments): 112 * 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.0005856/0.8617, allocations: 321.5 kB / 1.014 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.8618, allocations: 163 kB / 1.014 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.864, allocations: 2.001 MB / 1.016 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.864, allocations: 16.19 kB / 1.016 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.864, allocations: 7.828 kB / 1.016 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8641, allocations: 3.984 kB / 1.016 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.8682, allocations: 3.263 MB / 1.019 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8682, allocations: 4 kB / 1.019 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.8689, allocations: 276.1 kB / 1.019 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.8689, allocations: 8 kB / 1.019 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.8689, allocations: 39.98 kB / 1.02 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.8689, allocations: 15.92 kB / 1.02 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.869, allocations: 7.938 kB / 1.02 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.872, allocations: 2.194 MB / 1.022 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.8724, allocations: 215 kB / 1.022 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.8727, allocations: 24 kB / 1.022 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.8733, allocations: 115.8 kB / 1.022 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.8735, allocations: 115.7 kB / 1.022 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/0.8735, allocations: 76.78 kB / 1.022 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007803/0.8743, allocations: 0.8189 MB / 1.023 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.8743, allocations: 0 / 1.023 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00107/0.8754, allocations: 419.7 kB / 1.023 GB, free: 5.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (83): * Single equations (assignments): 79 * 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.003778/0.8792, allocations: 3.128 MB / 1.026 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.8815, allocations: 1.254 MB / 1.028 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8816, allocations: 0.5625 kB / 1.028 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.8826, allocations: 0.6397 MB / 1.028 GB, free: 288 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.8848, allocations: 0.7072 MB / 1.029 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8995, allocations: 11.59 MB / 1.04 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.9, allocations: 0.6571 MB / 1.041 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002261/0.9023, allocations: 1.442 MB / 1.042 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.9032, allocations: 0.7491 MB / 1.043 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of SimCode: time 1.854e-06/0.9032, allocations: 0 / 1.043 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06972/0.9729, allocations: 46.9 MB / 1.089 GB, free: 2.332 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.654, allocations: 0 / 1.089 GB, free: 2.332 MB / 0.823 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX_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_SplitterX.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Topology.SplitterX.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.813506094738841] Failed to read output from testmodel.py, exit status != 0: 8.753381407819688 8.76188136 7.932875612 Calling exit ...