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.001268/0.001268, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001604/0.001604, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.403/1.403, 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 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.7372/0.7372, allocations: 94.62 MB / 407.8 MB, free: 8.922 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_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.002465/0.002465, allocations: 83.86 kB / 0.5557 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.131, allocations: 73.05 MB / 0.627 GB, free: 232 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.044/0.175, allocations: 35.98 MB / 0.6622 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.1872, allocations: 7.977 MB / 0.67 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1884, allocations: 55.5 kB / 0.67 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.1899, allocations: 476.7 kB / 0.6705 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.1944, allocations: 1.34 MB / 0.6718 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.1972, allocations: 0.9063 MB / 0.6727 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.2005, allocations: 2.008 MB / 0.6746 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.2009, allocations: 164.7 kB / 0.6748 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.2035, allocations: 1.194 MB / 0.676 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.2047, allocations: 0.7389 MB / 0.6767 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.2049, allocations: 96 kB / 0.6768 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.207, allocations: 0.7646 MB / 0.6775 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.2073, allocations: 270.8 kB / 0.6778 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.2081, allocations: 0.517 MB / 0.6783 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.2114, allocations: 1.817 MB / 0.68 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2114, allocations: 0 / 0.68 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2114, allocations: 0 / 0.68 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.2114, allocations: 0 / 0.68 GB, free: 9.742 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.003587/0.215, allocations: 1.628 MB / 0.6816 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.215, allocations: 8.031 kB / 0.6816 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.027e-05/0.2151, allocations: 26.19 kB / 0.6817 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.2153, allocations: 135.4 kB / 0.6818 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.2161, allocations: 195.7 kB / 0.682 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.2177, allocations: 0.7601 MB / 0.6827 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2178, allocations: 121.4 kB / 0.6828 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.218, allocations: 91.94 kB / 0.6829 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.2201, allocations: 1.37 MB / 0.6843 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.2201, allocations: 4 kB / 0.6843 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.2202, allocations: 32 kB / 0.6843 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.2203, allocations: 24 kB / 0.6843 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.2221, allocations: 0.9173 MB / 0.6852 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/0.2282, allocations: 3.13 MB / 0.6883 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.2303, allocations: 0.8899 MB / 0.6892 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008807/0.2312, allocations: 417.7 kB / 0.6895 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.2342, allocations: 1.34 MB / 0.6909 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.2342, allocations: 55 kB / 0.6909 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.506e-06/0.2342, allocations: 0 / 0.6909 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01066/0.2449, allocations: 3.802 MB / 0.6946 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.245, allocations: 86.05 kB / 0.6947 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2461, allocations: 0.7675 MB / 0.6955 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.2462, allocations: 53.7 kB / 0.6955 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.2466, allocations: 477.2 kB / 0.696 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.247, allocations: 408.5 kB / 0.6964 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.2473, allocations: 186.9 kB / 0.6965 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2475, allocations: 345.9 kB / 0.6969 GB, free: 8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/0.2483, allocations: 386.4 kB / 0.6972 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2494, allocations: 0.553 MB / 0.6978 GB, free: 7.012 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.002094/0.2515, allocations: 0.9972 MB / 0.6987 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2515, allocations: 4.094 kB / 0.6987 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003479/0.2549, allocations: 1.465 MB / 0.7002 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.255, allocations: 7.984 kB / 0.7002 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001561/0.2565, allocations: 0.6689 MB / 0.7008 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.2578, allocations: 342.6 kB / 0.7012 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.2588, allocations: 199.7 kB / 0.7014 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.2699, allocations: 11.72 MB / 0.7128 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2709, allocations: 44.05 kB / 0.7128 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.271, allocations: 48.11 kB / 0.7129 GB, free: 6.496 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.0005465/0.2716, allocations: 257.5 kB / 0.7131 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.2719, allocations: 119.2 kB / 0.7132 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.2757, allocations: 1.598 MB / 0.7148 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2757, allocations: 12 kB / 0.7148 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2757, allocations: 4 kB / 0.7148 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.2757, allocations: 11.97 kB / 0.7148 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.2809, allocations: 2.508 MB / 0.7173 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001572/0.2825, allocations: 0.6808 MB / 0.7179 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.2834, allocations: 179.7 kB / 0.7181 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.2847, allocations: 358.7 kB / 0.7185 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.2849, allocations: 35.97 kB / 0.7185 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.2968, allocations: 11.72 MB / 0.7299 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2968, allocations: 3.938 kB / 0.7299 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.3016, allocations: 2.098 MB / 0.732 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.3019, allocations: 103.2 kB / 0.7321 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3021, allocations: 24 kB / 0.7321 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.3029, allocations: 55.95 kB / 0.7322 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.3032, allocations: 96.91 kB / 0.7323 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.3033, allocations: 47.91 kB / 0.7323 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007687/0.304, allocations: 0.5465 MB / 0.7328 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 0.7328 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001569/0.3056, allocations: 423.6 kB / 0.7332 GB, free: 500 kB / 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.005398/0.311, allocations: 2.939 MB / 0.7361 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.3147, allocations: 1.976 MB / 0.738 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3147, allocations: 0 / 0.738 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.3172, allocations: 1.538 MB / 0.7396 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.3191, allocations: 361.6 kB / 0.7399 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2773/0.5963, allocations: 9.786 MB / 0.7495 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.597, allocations: 499.7 kB / 0.7499 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009341/0.5979, allocations: 209 kB / 0.7501 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/0.5985, allocations: 460.5 kB / 0.7506 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.5985, allocations: 0 / 0.7506 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/0.6828, allocations: 36.95 MB / 0.7867 GB, free: 92.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.04, allocations: 10.41 kB / 0.7867 GB, free: 92.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.597693377989344] Failed to read output from testmodel.py, exit status != 0: 16.23951994709205 16.250371521 16.036420796 Calling exit ...