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.0018/0.0018, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002141/0.002141, allocations: 215.1 kB / 23.03 MB, free: 4.926 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.7931/0.7931, allocations: 100.3 MB / 413.5 MB, free: 3.402 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="cs",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.003286/0.003286, allocations: 85.61 kB / 0.564 GB, free: 35.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.128, allocations: 74.47 MB / 0.6367 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04376/0.1718, allocations: 35.97 MB / 0.6719 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1834, allocations: 7.973 MB / 0.6796 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1845, allocations: 51.56 kB / 0.6797 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.1859, allocations: 484.6 kB / 0.6802 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.1896, allocations: 1.34 MB / 0.6815 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.192, allocations: 0.8944 MB / 0.6823 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.1947, allocations: 2.023 MB / 0.6843 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1951, allocations: 156.8 kB / 0.6845 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.1977, allocations: 1.198 MB / 0.6856 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.1989, allocations: 0.7427 MB / 0.6864 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.1991, allocations: 96 kB / 0.6865 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.2012, allocations: 0.7724 MB / 0.6872 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.2015, allocations: 258.9 kB / 0.6875 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.2021, allocations: 0.5247 MB / 0.688 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.2054, allocations: 1.814 MB / 0.6897 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2054, allocations: 0 / 0.6897 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2054, allocations: 0 / 0.6897 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.2055, allocations: 3.938 kB / 0.6897 GB, free: 0.8828 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.003405/0.2089, allocations: 1.628 MB / 0.6913 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.2089, allocations: 12.02 kB / 0.6913 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.41e-05/0.2089, allocations: 22.19 kB / 0.6914 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.2091, allocations: 135.3 kB / 0.6915 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.2099, allocations: 207.7 kB / 0.6917 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2115, allocations: 0.7523 MB / 0.6924 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.2116, allocations: 121.4 kB / 0.6925 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.2118, allocations: 91.95 kB / 0.6926 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.2138, allocations: 1.367 MB / 0.694 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2139, allocations: 4 kB / 0.694 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.214, allocations: 40 kB / 0.694 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.214, allocations: 20 kB / 0.694 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.2158, allocations: 0.9133 MB / 0.6949 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/0.2217, allocations: 3.138 MB / 0.698 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.2238, allocations: 0.8752 MB / 0.6988 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.2246, allocations: 422.8 kB / 0.6992 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002707/0.2273, allocations: 1.332 MB / 0.7005 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.2274, allocations: 54.89 kB / 0.7006 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.327e-06/0.2274, allocations: 0 / 0.7006 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009973/0.2373, allocations: 3.807 MB / 0.7043 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.2374, allocations: 94.05 kB / 0.7044 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.2384, allocations: 0.7675 MB / 0.7051 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.735e-05/0.2385, allocations: 41.7 kB / 0.7052 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.2389, allocations: 481.2 kB / 0.7056 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.2393, allocations: 404.7 kB / 0.706 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.2396, allocations: 190.9 kB / 0.7062 GB, free: 15.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2398, allocations: 345.9 kB / 0.7065 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/0.2407, allocations: 394.4 kB / 0.7069 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2417, allocations: 0.5491 MB / 0.7075 GB, free: 14.15 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.002043/0.2437, allocations: 1.006 MB / 0.7084 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2437, allocations: 4 kB / 0.7084 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003476/0.2472, allocations: 1.457 MB / 0.7099 GB, free: 11.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2472, allocations: 5.719 kB / 0.7099 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001564/0.2488, allocations: 0.6768 MB / 0.7105 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.25, allocations: 338.6 kB / 0.7109 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.2509, allocations: 203.7 kB / 0.7111 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.2621, allocations: 11.72 MB / 0.7225 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.263, allocations: 44.16 kB / 0.7225 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2631, allocations: 47.98 kB / 0.7226 GB, free: 13.63 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 (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.000519/0.2636, allocations: 249.1 kB / 0.7228 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.2639, allocations: 131.2 kB / 0.723 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.2676, allocations: 1.583 MB / 0.7245 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.2677, allocations: 16 kB / 0.7245 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2677, allocations: 4 kB / 0.7245 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.2677, allocations: 15.91 kB / 0.7245 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.2728, allocations: 2.5 MB / 0.727 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001575/0.2744, allocations: 0.6885 MB / 0.7276 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008602/0.2752, allocations: 175.8 kB / 0.7278 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.2765, allocations: 366.5 kB / 0.7282 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-05/0.2766, allocations: 35.98 kB / 0.7282 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.288, allocations: 11.72 MB / 0.7396 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.288, allocations: 0 / 0.7396 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/0.2926, allocations: 2.094 MB / 0.7417 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.2929, allocations: 115.1 kB / 0.7418 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.2931, allocations: 24 kB / 0.7418 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.2938, allocations: 55.95 kB / 0.7419 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.2941, allocations: 96.84 kB / 0.742 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.2942, allocations: 51.91 kB / 0.742 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000773/0.295, allocations: 0.531 MB / 0.7425 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.295, allocations: 0 / 0.7425 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001465/0.2964, allocations: 423.7 kB / 0.7429 GB, free: 7.637 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.00546/0.3019, allocations: 2.946 MB / 0.7458 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003756/0.3057, allocations: 1.984 MB / 0.7478 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.3057, allocations: 4 kB / 0.7478 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.3083, allocations: 1.527 MB / 0.7492 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.3102, allocations: 352.2 kB / 0.7496 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/0.5836, allocations: 9.801 MB / 0.7592 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.5841, allocations: 0.4913 MB / 0.7596 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008456/0.585, allocations: 205.1 kB / 0.7598 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.5855, allocations: 460.2 kB / 0.7603 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/0.5855, allocations: 0 / 0.7603 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/0.6656, allocations: 36.95 MB / 0.7963 GB, free: 79.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.2, allocations: 15.86 kB / 0.7964 GB, free: 79.31 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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: 19.89619290502742] Failed to read output from testmodel.py, exit status != 0: 16.42714424210135 16.436167796 16.228485154 Calling exit ...