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.001296/0.001296, 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.001512/0.001512, allocations: 213.4 kB / 22.25 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.805 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.7502/0.7502, allocations: 100.9 MB / 413.3 MB, free: 2.895 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.002461/0.002461, allocations: 90.69 kB / 0.5641 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.127, 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.04179/0.1688, allocations: 36.04 MB / 0.6721 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1801, allocations: 8.005 MB / 0.68 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.1812, allocations: 55.5 kB / 0.68 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.1827, allocations: 480.6 kB / 0.6805 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.1863, allocations: 1.336 MB / 0.6818 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.1886, allocations: 0.9152 MB / 0.6827 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.1912, allocations: 2.02 MB / 0.6846 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.1915, allocations: 152.8 kB / 0.6848 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.1939, allocations: 1.206 MB / 0.686 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.1951, allocations: 0.6803 MB / 0.6866 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.1953, allocations: 96 kB / 0.6867 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.1972, allocations: 0.749 MB / 0.6874 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.1976, allocations: 266.8 kB / 0.6877 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006944/0.1983, allocations: 0.5248 MB / 0.6882 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.2012, allocations: 1.829 MB / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2012, allocations: 0 / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2012, allocations: 0 / 0.69 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.936e-05/0.2013, allocations: 4 kB / 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.003598/0.2049, allocations: 1.624 MB / 0.6916 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2049, allocations: 9.469 kB / 0.6916 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.2051, allocations: 131.4 kB / 0.6917 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.2058, allocations: 204 kB / 0.6919 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.2075, allocations: 0.7639 MB / 0.6927 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.2077, allocations: 117.4 kB / 0.6928 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.2078, allocations: 95.94 kB / 0.6929 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.2099, allocations: 1.378 MB / 0.6942 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.2099, allocations: 0 / 0.6942 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.21, allocations: 36 kB / 0.6942 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.21, allocations: 20 kB / 0.6943 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.2118, allocations: 0.9134 MB / 0.6952 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/0.2179, allocations: 3.157 MB / 0.6982 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.2199, allocations: 0.8738 MB / 0.6991 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.2208, allocations: 417.5 kB / 0.6995 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/0.2237, allocations: 1.34 MB / 0.7008 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/0.2237, allocations: 50.95 kB / 0.7008 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.567e-06/0.2237, allocations: 0 / 0.7008 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01044/0.2342, allocations: 3.81 MB / 0.7046 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.2343, allocations: 90.05 kB / 0.7047 GB, free: 500 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.2354, allocations: 0.7717 MB / 0.7054 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.2355, allocations: 45.7 kB / 0.7055 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.2359, allocations: 493.1 kB / 0.7059 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.2363, allocations: 408.4 kB / 0.7063 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.2367, allocations: 182.9 kB / 0.7065 GB, free: 14.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2368, allocations: 349.9 kB / 0.7068 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.2377, allocations: 386.4 kB / 0.7072 GB, free: 13.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.2387, allocations: 0.553 MB / 0.7077 GB, free: 13.22 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.002193/0.2409, allocations: 1.01 MB / 0.7087 GB, free: 12.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2409, allocations: 0 / 0.7087 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003524/0.2445, allocations: 1.473 MB / 0.7102 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2445, allocations: 4 kB / 0.7102 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00154/0.246, allocations: 0.6727 MB / 0.7108 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.2472, allocations: 342.6 kB / 0.7111 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/0.2481, allocations: 207.7 kB / 0.7113 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.2598, allocations: 11.73 MB / 0.7228 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2608, allocations: 35.98 kB / 0.7228 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.261, allocations: 51.97 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.0006027/0.2616, allocations: 241.7 kB / 0.7231 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.262, allocations: 123.2 kB / 0.7232 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.266, allocations: 1.598 MB / 0.7248 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.266, allocations: 12 kB / 0.7248 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/0.266, allocations: 4 kB / 0.7248 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.266, allocations: 7.984 kB / 0.7248 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/0.2717, allocations: 2.508 MB / 0.7273 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001529/0.2732, allocations: 0.6884 MB / 0.7279 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.274, allocations: 187.8 kB / 0.7281 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.2752, allocations: 354.9 kB / 0.7284 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/0.2753, allocations: 35.97 kB / 0.7285 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.2863, allocations: 11.72 MB / 0.7399 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2863, allocations: 4.031 kB / 0.7399 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.2911, allocations: 2.09 MB / 0.742 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.2914, allocations: 111.2 kB / 0.7421 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.2916, allocations: 27.98 kB / 0.7421 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.2924, allocations: 51.95 kB / 0.7422 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.2927, allocations: 100.8 kB / 0.7423 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.2928, allocations: 47.91 kB / 0.7423 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008215/0.2936, allocations: 0.531 MB / 0.7428 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2936, allocations: 4 kB / 0.7428 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001656/0.2953, allocations: 427.6 kB / 0.7432 GB, free: 6.676 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.005405/0.3007, allocations: 2.946 MB / 0.7461 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.3043, allocations: 1.988 MB / 0.748 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.3043, allocations: 8.062 kB / 0.7481 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2919/0.5963, allocations: 1.516 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.002082/0.5983, allocations: 367 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.01725/0.6156, allocations: 9.79 MB / 0.7594 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.6162, allocations: 0.4955 MB / 0.7599 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009881/0.6172, allocations: 207.1 kB / 0.7601 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/0.6177, allocations: 461.3 kB / 0.7606 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/0.6177, allocations: 0 / 0.7606 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09122/0.7089, allocations: 37.1 MB / 0.7968 GB, free: 77.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.94, allocations: 7.125 kB / 0.7968 GB, free: 77.62 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 & /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: 18.40366072813049] Failed to read output from testmodel.py, exit status != 0: 15.07854455569759 15.090249997 14.886269044 Calling exit ...