Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.7 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 189.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.5991/0.5991, allocations: 94.61 MB / 399.1 MB, free: 15.71 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 83.81 kB / 0.5444 GB, free: 10.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3519, allocations: 71.85 MB / 0.6145 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1721/0.524, allocations: 145.1 MB / 0.7563 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006063/0.53, allocations: 4.628 MB / 0.7608 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.5305, allocations: 27.81 kB / 0.7608 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.5312, allocations: 210.7 kB / 0.761 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008942/0.5321, allocations: 314.2 kB / 0.7613 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.5334, allocations: 438.3 kB / 0.7617 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009639/0.5343, allocations: 0.7517 MB / 0.7625 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.5346, allocations: 70.61 kB / 0.7625 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.5354, allocations: 398.4 kB / 0.7629 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.536, allocations: 346.8 kB / 0.7632 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.5361, allocations: 35.94 kB / 0.7633 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5371, allocations: 467.1 kB / 0.7637 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.5373, allocations: 103.6 kB / 0.7638 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.5375, allocations: 206.8 kB / 0.764 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.5387, allocations: 0.6576 MB / 0.7647 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.5387, allocations: 0 / 0.7647 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5387, allocations: 0 / 0.7647 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5387, allocations: 0 / 0.7647 GB, free: 9.363 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001783/0.5405, allocations: 0.833 MB / 0.7655 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5405, allocations: 8.031 kB / 0.7655 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.5406, allocations: 66.7 kB / 0.7655 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.5407, allocations: 48.61 kB / 0.7656 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.5415, allocations: 494.2 kB / 0.7661 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5416, allocations: 20.94 kB / 0.7661 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.5416, allocations: 32.33 kB / 0.7661 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.5424, allocations: 437.2 kB / 0.7665 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5424, allocations: 0 / 0.7665 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.5424, allocations: 12 kB / 0.7665 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.5425, allocations: 24.42 kB / 0.7666 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.5433, allocations: 481.8 kB / 0.767 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.5456, allocations: 1.443 MB / 0.7684 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.5461, allocations: 234.4 kB / 0.7686 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.5464, allocations: 192.7 kB / 0.7688 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.5468, allocations: 336.4 kB / 0.7692 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5468, allocations: 34.56 kB / 0.7692 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.5468, allocations: 0 / 0.7692 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003003/0.5498, allocations: 1.531 MB / 0.7707 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.5499, allocations: 59.34 kB / 0.7707 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.5504, allocations: 402 kB / 0.7711 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.5505, allocations: 29.7 kB / 0.7711 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5507, allocations: 208.6 kB / 0.7713 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5508, allocations: 115 kB / 0.7715 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5509, allocations: 65.67 kB / 0.7715 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5511, allocations: 358.7 kB / 0.7719 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.5514, allocations: 143.9 kB / 0.772 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.5517, allocations: 151.6 kB / 0.7721 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.5522, allocations: 336.7 kB / 0.7725 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5522, allocations: 0 / 0.7725 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001037/0.5533, allocations: 0.5216 MB / 0.773 GB, free: 376 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5533, allocations: 4 kB / 0.773 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5533, allocations: 0 / 0.773 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.5538, allocations: 124.7 kB / 0.7731 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.5541, allocations: 55.88 kB / 0.7732 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.5571, allocations: 2.327 MB / 0.7754 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.5574, allocations: 12.03 kB / 0.7754 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.5574, allocations: 15.98 kB / 0.7754 GB, free: 13.69 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.5577, allocations: 167.6 kB / 0.7756 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5578, allocations: 43.72 kB / 0.7757 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.559, allocations: 0.6583 MB / 0.7763 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.559, allocations: 7.984 kB / 0.7763 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.559, allocations: 4 kB / 0.7763 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.559, allocations: 96 / 0.7763 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.5596, allocations: 449.2 kB / 0.7767 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5596, allocations: 3.984 kB / 0.7767 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.5598, allocations: 39.89 kB / 0.7768 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.5601, allocations: 124.7 kB / 0.7769 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.5602, allocations: 11.98 kB / 0.7769 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.5631, allocations: 2.342 MB / 0.7792 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5631, allocations: 0 / 0.7792 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5643, allocations: 0.646 MB / 0.7798 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5645, allocations: 116.9 kB / 0.7799 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.5645, allocations: 8 kB / 0.7799 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.5647, allocations: 8 kB / 0.78 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.5648, allocations: 19.95 kB / 0.78 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.5648, allocations: 11.98 kB / 0.78 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004036/0.5652, allocations: 318.9 kB / 0.7803 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5652, allocations: 0 / 0.7803 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005668/0.5658, allocations: 119.9 kB / 0.7804 GB, free: 8.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.5676, allocations: 1.269 MB / 0.7816 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.5687, allocations: 0.4942 MB / 0.7821 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5687, allocations: 0 / 0.7821 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.5694, allocations: 362.3 kB / 0.7825 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.5701, allocations: 120.3 kB / 0.7826 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.5766, allocations: 4.107 MB / 0.7866 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5771, allocations: 0.8425 MB / 0.7874 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.5774, allocations: 92.11 kB / 0.7875 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.5776, allocations: 155.4 kB / 0.7877 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.5776, allocations: 0 / 0.7877 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/0.6232, allocations: 12.02 MB / 0.7994 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.51, allocations: 4.047 kB / 0.7994 GB, free: 4.84 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 14.685298208991298] Failed to read output from testmodel.py, exit status != 0: 11.606354135001311 11.631595064 11.087837387 Calling exit ...