Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001749/0.001749, 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.002492/0.002492, allocations: 212.9 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7594/0.7594, allocations: 94.62 MB / 407.1 MB, free: 8.848 MB / 318.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/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.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_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.002538/0.002538, allocations: 89.17 kB / 0.5549 GB, free: 38.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1328, allocations: 73.06 MB / 0.6263 GB, free: 168 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04265/0.1755, allocations: 36.02 MB / 0.6615 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1878, allocations: 7.989 MB / 0.6693 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.1891, allocations: 47.56 kB / 0.6693 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.1908, allocations: 480.6 kB / 0.6698 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.1948, allocations: 1.34 MB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.1974, allocations: 0.8991 MB / 0.672 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.2002, allocations: 2.008 MB / 0.6739 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.2006, allocations: 156.8 kB / 0.6741 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.203, allocations: 1.194 MB / 0.6752 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009896/0.204, allocations: 0.6841 MB / 0.6759 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.2042, allocations: 96 kB / 0.676 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.2062, allocations: 0.7529 MB / 0.6767 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.2066, allocations: 266.8 kB / 0.677 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.2072, allocations: 0.517 MB / 0.6775 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.21, allocations: 1.813 MB / 0.6793 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.21, allocations: 0 / 0.6793 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.21, allocations: 0 / 0.6793 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.21, allocations: 4 kB / 0.6793 GB, free: 9.727 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003207/0.2132, allocations: 1.62 MB / 0.6808 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2133, allocations: 12.03 kB / 0.6809 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.2135, allocations: 139.3 kB / 0.681 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007328/0.2142, allocations: 204 kB / 0.6812 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.2158, allocations: 0.7562 MB / 0.6819 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.2159, allocations: 117.4 kB / 0.682 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2161, allocations: 91.95 kB / 0.6821 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.218, allocations: 1.37 MB / 0.6835 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.218, allocations: 0 / 0.6835 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.2181, allocations: 36 kB / 0.6835 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.2181, allocations: 24 kB / 0.6835 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.2199, allocations: 0.9133 MB / 0.6844 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.2253, allocations: 3.138 MB / 0.6875 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.2274, allocations: 0.8792 MB / 0.6883 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.2282, allocations: 422.5 kB / 0.6887 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/0.2309, allocations: 1.336 MB / 0.69 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.2309, allocations: 47 kB / 0.6901 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.805e-06/0.2309, allocations: 0 / 0.6901 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009696/0.2406, allocations: 3.806 MB / 0.6938 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.2407, allocations: 90.05 kB / 0.6939 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2418, allocations: 0.7675 MB / 0.6946 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.2419, allocations: 49.7 kB / 0.6947 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.2423, allocations: 481.2 kB / 0.6951 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.2426, allocations: 420.4 kB / 0.6955 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.2429, allocations: 182.9 kB / 0.6957 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2431, allocations: 349.9 kB / 0.696 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/0.2439, allocations: 382.5 kB / 0.6964 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.2449, allocations: 0.5569 MB / 0.697 GB, free: 7.02 MB / 0.5294 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.2469, allocations: 1.001 MB / 0.6979 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2469, allocations: 3.938 kB / 0.6979 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003392/0.2503, allocations: 1.462 MB / 0.6994 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2503, allocations: 4 kB / 0.6994 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001497/0.2518, allocations: 0.6689 MB / 0.7 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.2529, allocations: 338.6 kB / 0.7003 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.2537, allocations: 203.7 kB / 0.7005 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.2646, allocations: 11.72 MB / 0.712 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.2656, allocations: 48.09 kB / 0.712 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2657, allocations: 47.98 kB / 0.7121 GB, free: 6.504 MB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. 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 (111): * Single equations (assignments): 103 * 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%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.2663, allocations: 245.6 kB / 0.7123 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.2665, allocations: 123.2 kB / 0.7124 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.2701, allocations: 1.598 MB / 0.714 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.2701, allocations: 12 kB / 0.714 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2702, allocations: 8 kB / 0.714 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2702, allocations: 11.97 kB / 0.714 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.2752, allocations: 2.492 MB / 0.7165 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001494/0.2767, allocations: 0.6846 MB / 0.7171 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.2775, allocations: 183.8 kB / 0.7173 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.2787, allocations: 370.5 kB / 0.7177 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.2788, allocations: 31.92 kB / 0.7177 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.2894, allocations: 11.72 MB / 0.7291 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.2894, allocations: 4.031 kB / 0.7291 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.2938, allocations: 2.09 MB / 0.7312 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.2942, allocations: 119.1 kB / 0.7313 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.2943, allocations: 20 kB / 0.7313 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.2951, allocations: 55.95 kB / 0.7314 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.2953, allocations: 104.8 kB / 0.7315 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/0.2954, allocations: 39.97 kB / 0.7315 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000782/0.2962, allocations: 0.5349 MB / 0.732 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2962, allocations: 0 / 0.732 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00155/0.2978, allocations: 431.6 kB / 0.7324 GB, free: 0.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (92): * Single equations (assignments): 84 * 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,6,100.0%), (1,4,100.0%), (1,1,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.005325/0.3031, allocations: 2.94 MB / 0.7353 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0037/0.3068, allocations: 1.972 MB / 0.7372 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3068, allocations: 0 / 0.7372 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.3094, allocations: 1.542 MB / 0.7387 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.3112, allocations: 352.8 kB / 0.7391 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3327/0.6439, allocations: 9.79 MB / 0.7486 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.6447, allocations: 499.4 kB / 0.7491 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001156/0.6459, allocations: 202.8 kB / 0.7493 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.6465, allocations: 461.7 kB / 0.7497 GB, free: 114 MB / 0.5762 GB Notification: Performance of SimCode: time 2.164e-06/0.6465, allocations: 0.5938 kB / 0.7497 GB, free: 114 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09023/0.7368, allocations: 37.07 MB / 0.7859 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.61, allocations: 16.05 kB / 0.786 GB, free: 92.52 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.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_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.502432018052787] Failed to read output from testmodel.py, exit status != 0: 15.762350771110505 15.784815133 15.570560364 Calling exit ...