Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.002751/0.002751, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.003277/0.003277, allocations: 214.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.71/1.71, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 1.083/1.083, allocations: 100.9 MB / 413.3 MB, free: 2.875 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 89.7 kB / 0.5641 GB, free: 35.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2273, allocations: 74.6 MB / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05207/0.2794, allocations: 37.59 MB / 0.6737 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.2906, allocations: 4.962 MB / 0.6785 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.2933, allocations: 59.44 kB / 0.6786 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.2953, allocations: 0.4966 MB / 0.679 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.3005, allocations: 1.367 MB / 0.6804 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.3039, allocations: 0.9002 MB / 0.6813 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00393/0.3079, allocations: 2.163 MB / 0.6834 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.3083, allocations: 161.3 kB / 0.6835 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.3124, allocations: 1.381 MB / 0.6849 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.3138, allocations: 0.7269 MB / 0.6856 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.3141, allocations: 100 kB / 0.6857 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.3166, allocations: 0.671 MB / 0.6863 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.317, allocations: 274.8 kB / 0.6866 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.3178, allocations: 0.5403 MB / 0.6871 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.322, allocations: 1.852 MB / 0.6889 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.322, allocations: 0 / 0.6889 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.614e-06/0.322, allocations: 4 kB / 0.6889 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.709e-05/0.322, allocations: 0 / 0.6889 GB, free: 1.047 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004276/0.3263, allocations: 1.621 MB / 0.6905 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.648e-05/0.3264, allocations: 9.469 kB / 0.6905 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.3266, allocations: 143.9 kB / 0.6907 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.3273, allocations: 184 kB / 0.6908 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.3292, allocations: 0.7809 MB / 0.6916 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.3293, allocations: 77.88 kB / 0.6917 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3294, allocations: 95.98 kB / 0.6918 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.3317, allocations: 1.321 MB / 0.6931 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3317, allocations: 4 kB / 0.6931 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.3318, allocations: 36 kB / 0.6931 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.3318, allocations: 27.94 kB / 0.6931 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.3337, allocations: 1.012 MB / 0.6941 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/0.3396, allocations: 3.042 MB / 0.6971 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.3416, allocations: 0.8694 MB / 0.6979 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.3424, allocations: 433.8 kB / 0.6983 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00347/0.3458, allocations: 1.34 MB / 0.6996 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.3459, allocations: 51.16 kB / 0.6997 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 8.907e-06/0.3459, allocations: 4 kB / 0.6997 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01135/0.3573, allocations: 4.026 MB / 0.7036 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.3573, allocations: 94.19 kB / 0.7037 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3585, allocations: 0.7678 MB / 0.7045 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.3585, allocations: 45.7 kB / 0.7045 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.359, allocations: 485.4 kB / 0.705 GB, free: 168 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.3595, allocations: 448.3 kB / 0.7054 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.3598, allocations: 202.9 kB / 0.7056 GB, free: 15.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.36, allocations: 349.7 kB / 0.7059 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009243/0.3609, allocations: 406.4 kB / 0.7063 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.362, allocations: 0.5725 MB / 0.7069 GB, free: 14.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.3641, allocations: 1.049 MB / 0.7079 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3641, allocations: 0 / 0.7079 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003507/0.3676, allocations: 1.489 MB / 0.7094 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.3676, allocations: 9.25 kB / 0.7094 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3677, allocations: 4 kB / 0.7094 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3689, allocations: 303 kB / 0.7097 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.3698, allocations: 239.7 kB / 0.7099 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.3821, allocations: 11.26 MB / 0.7209 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3835, allocations: 59.89 kB / 0.7209 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.3836, allocations: 47.98 kB / 0.721 GB, free: 14.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008451/0.3845, allocations: 253.7 kB / 0.7212 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.3848, allocations: 123.2 kB / 0.7213 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.3891, allocations: 1.802 MB / 0.7231 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.3891, allocations: 11.94 kB / 0.7231 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.3892, allocations: 7.984 kB / 0.7231 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.3892, allocations: 7.984 kB / 0.7231 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/0.3951, allocations: 2.554 MB / 0.7256 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3951, allocations: 0 / 0.7256 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008866/0.396, allocations: 195.8 kB / 0.7258 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.3971, allocations: 326.6 kB / 0.7261 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/0.3972, allocations: 35.97 kB / 0.7262 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.41, allocations: 11.27 MB / 0.7372 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.4101, allocations: 7.969 kB / 0.7372 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.4153, allocations: 2.111 MB / 0.7392 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.4159, allocations: 107.2 kB / 0.7393 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.416, allocations: 24 kB / 0.7394 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.4168, allocations: 59.94 kB / 0.7394 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003571/0.4172, allocations: 108.8 kB / 0.7395 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.4173, allocations: 47.97 kB / 0.7396 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001176/0.4185, allocations: 0.5594 MB / 0.7401 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4185, allocations: 0 / 0.7401 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001972/0.4205, allocations: 403.7 kB / 0.7405 GB, free: 9.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.inlet.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 (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00641/0.4269, allocations: 2.925 MB / 0.7434 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00446/0.4313, allocations: 1.988 MB / 0.7453 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.4313, allocations: 4 kB / 0.7453 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/0.4342, allocations: 1.535 MB / 0.7468 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4364, allocations: 360.7 kB / 0.7471 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4853/0.9216, allocations: 10.01 MB / 0.7569 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.923, allocations: 0.5023 MB / 0.7574 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001466/0.9244, allocations: 220.9 kB / 0.7576 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.9251, allocations: 479.9 kB / 0.7581 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/0.9251, allocations: 3.969 kB / 0.7581 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.038, allocations: 37.17 MB / 0.7944 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.83, allocations: 7.844 kB / 0.7944 GB, free: 79.95 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.6707909302786] Failed to read output from testmodel.py, exit status != 0: 16.978604485746473 16.990324772 16.665715411 Calling exit ...