Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001298/0.001298, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001446/0.001446, allocations: 212.2 kB / 22.24 MB, free: 4.859 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.789 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 0.8325/0.8325, allocations: 100.9 MB / 413.3 MB, free: 2.863 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.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_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.003512/0.003512, allocations: 87.48 kB / 0.5641 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1442, allocations: 74.62 MB / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04081/0.185, allocations: 36.04 MB / 0.6721 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.1972, allocations: 8.001 MB / 0.68 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1985, allocations: 51.56 kB / 0.68 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.1999, allocations: 492.6 kB / 0.6805 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.2036, allocations: 1.336 MB / 0.6818 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.2059, allocations: 0.9106 MB / 0.6827 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.2085, allocations: 2.028 MB / 0.6846 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.2088, allocations: 152.8 kB / 0.6848 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.2112, allocations: 1.202 MB / 0.686 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.2122, allocations: 0.6841 MB / 0.6866 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.2123, allocations: 100 kB / 0.6867 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.2142, allocations: 0.7451 MB / 0.6875 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.2145, allocations: 262.8 kB / 0.6877 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.2151, allocations: 0.5209 MB / 0.6882 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.2178, allocations: 1.821 MB / 0.69 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2178, allocations: 4 kB / 0.69 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2178, allocations: 3.938 kB / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.2178, allocations: 0 / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003196/0.221, allocations: 1.632 MB / 0.6916 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2211, allocations: 9.469 kB / 0.6916 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.2212, allocations: 139.4 kB / 0.6917 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.2219, allocations: 192 kB / 0.6919 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.2235, allocations: 0.764 MB / 0.6927 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.2236, allocations: 121.4 kB / 0.6928 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.2238, allocations: 87.95 kB / 0.6929 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.2257, allocations: 1.374 MB / 0.6942 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.2257, allocations: 7.984 kB / 0.6942 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.2258, allocations: 40 kB / 0.6943 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.2258, allocations: 20 kB / 0.6943 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2275, allocations: 0.9173 MB / 0.6952 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.2332, allocations: 3.146 MB / 0.6982 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.2353, allocations: 0.8792 MB / 0.6991 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.2361, allocations: 421.3 kB / 0.6995 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.239, allocations: 1.332 MB / 0.7008 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.239, allocations: 50.95 kB / 0.7008 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.597e-06/0.239, allocations: 0 / 0.7008 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01086/0.2499, allocations: 3.81 MB / 0.7046 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2499, allocations: 90.05 kB / 0.7047 GB, free: 500 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2511, allocations: 0.7794 MB / 0.7054 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.2512, allocations: 49.7 kB / 0.7055 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.2516, allocations: 477.2 kB / 0.7059 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.252, allocations: 412.4 kB / 0.7063 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.2523, allocations: 182.9 kB / 0.7065 GB, free: 14.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2524, allocations: 349.9 kB / 0.7068 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/0.2533, allocations: 386.4 kB / 0.7072 GB, free: 13.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/0.2543, allocations: 0.5608 MB / 0.7077 GB, free: 13.21 MB / 0.545 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.001989/0.2562, allocations: 1.006 MB / 0.7087 GB, free: 12.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2562, allocations: 3.984 kB / 0.7087 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003383/0.2596, allocations: 1.473 MB / 0.7102 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2597, allocations: 8 kB / 0.7102 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001476/0.2611, allocations: 0.6688 MB / 0.7108 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.2623, allocations: 342.5 kB / 0.7111 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.2631, allocations: 203.7 kB / 0.7113 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.2736, allocations: 11.72 MB / 0.7228 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.2745, allocations: 48.09 kB / 0.7228 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2746, allocations: 47.98 kB / 0.7229 GB, free: 12.68 MB / 0.5606 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 (112): * Single equations (assignments): 104 * 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.0005271/0.2751, allocations: 253.8 kB / 0.7231 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.2754, allocations: 123.2 kB / 0.7232 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.2789, allocations: 1.587 MB / 0.7248 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.2789, allocations: 8 kB / 0.7248 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.2789, allocations: 12 kB / 0.7248 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.2789, allocations: 7.969 kB / 0.7248 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.2838, allocations: 2.512 MB / 0.7273 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001459/0.2853, allocations: 0.6846 MB / 0.7279 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/0.2861, allocations: 183.8 kB / 0.7281 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.2872, allocations: 354.5 kB / 0.7284 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.2873, allocations: 35.98 kB / 0.7285 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.2977, allocations: 11.73 MB / 0.7399 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2977, allocations: 0 / 0.7399 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.3021, allocations: 2.102 MB / 0.742 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.3025, allocations: 103.2 kB / 0.7421 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3027, allocations: 24 kB / 0.7421 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.3034, allocations: 55.95 kB / 0.7422 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.3037, allocations: 96.84 kB / 0.7423 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/0.3038, allocations: 51.91 kB / 0.7423 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007815/0.3046, allocations: 0.5349 MB / 0.7428 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3046, allocations: 3.938 kB / 0.7428 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001601/0.3062, allocations: 427.6 kB / 0.7432 GB, free: 6.672 MB / 0.5762 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.005102/0.3113, allocations: 2.949 MB / 0.7461 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.3147, allocations: 1.98 MB / 0.748 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.3147, allocations: 4 kB / 0.7481 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.271/0.5857, allocations: 1.529 MB / 0.7495 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.5877, allocations: 356.9 kB / 0.7499 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.6052, allocations: 9.797 MB / 0.7595 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.6058, allocations: 0.4909 MB / 0.7599 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009247/0.6067, allocations: 210.4 kB / 0.7601 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.6073, allocations: 461.4 kB / 0.7606 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.6073, allocations: 0 / 0.7606 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/0.696, allocations: 37.08 MB / 0.7968 GB, free: 77.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.81, allocations: 10.91 kB / 0.7968 GB, free: 77.6 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.65135358320549] Failed to read output from testmodel.py, exit status != 0: 14.961289054248482 14.977777825 14.756398777 Calling exit ...