Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 64.77 kB / 378.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2492, allocations: 53.37 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008226/0.2575, allocations: 4.99 MB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2585, allocations: 0.6192 MB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.2586, allocations: 0 / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.2589, allocations: 35.77 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2606, allocations: 0.6034 MB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.2609, allocations: 106.5 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.2612, allocations: 179.3 kB / 438.4 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.2613, allocations: 11.97 kB / 438.4 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.2624, allocations: 0.6275 MB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.2625, allocations: 51.77 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2625, allocations: 8 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.2641, allocations: 0.9176 MB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.2642, allocations: 15.92 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.2642, allocations: 51.78 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.2647, allocations: 243 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2647, allocations: 0 / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2647, allocations: 3.938 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2647, allocations: 0 / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005409/0.2653, allocations: 353.7 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2653, allocations: 8.031 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.2653, allocations: 42.73 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.2657, allocations: 36.86 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.266, allocations: 130.5 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.266, allocations: 8.125 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.266, allocations: 11.94 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.2663, allocations: 145 kB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2663, allocations: 0 / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2663, allocations: 0 / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2663, allocations: 4 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2665, allocations: 111.9 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.2673, allocations: 0.6363 MB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2674, allocations: 74.55 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.2675, allocations: 44.77 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.2678, allocations: 59.94 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2678, allocations: 38.5 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2678, allocations: 0 / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003136/0.2681, allocations: 141.7 kB / 442.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2682, allocations: 51.41 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2683, allocations: 109.8 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2683, allocations: 33.7 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.2684, allocations: 103.9 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.2684, allocations: 43.64 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.2685, allocations: 37.67 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2686, allocations: 318.8 kB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.2686, allocations: 27.98 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.2687, allocations: 69.2 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2689, allocations: 112.5 kB / 443.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2689, allocations: 0 / 443.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002205/0.2691, allocations: 137.5 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2691, allocations: 8 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2691, allocations: 160 / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2691, allocations: 7.938 kB / 443.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2693, allocations: 35.98 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2693, allocations: 3.938 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.2693, allocations: 15.89 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.2694, allocations: 11.98 kB / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2695, allocations: 117.8 kB / 443.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2695, allocations: 11.95 kB / 443.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.2698, allocations: 154.2 kB / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2698, allocations: 0 / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2698, allocations: 0 / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2698, allocations: 0 / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.2703, allocations: 369.4 kB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2703, allocations: 0 / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.2704, allocations: 24 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2704, allocations: 3.938 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2704, allocations: 3.984 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2704, allocations: 4 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2704, allocations: 0 / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2706, allocations: 215 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.2707, allocations: 15.94 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2707, allocations: 7.938 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.2708, allocations: 3.938 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.2708, allocations: 11.98 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2708, allocations: 7.984 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.2709, allocations: 95.27 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2709, allocations: 0 / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.2712, allocations: 67.81 kB / 444.4 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006844/0.2719, allocations: 0.7903 MB / 445.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.2721, allocations: 75.91 kB / 445.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2721, allocations: 4 kB / 445.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.2722, allocations: 35.92 kB / 445.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2726, allocations: 44.28 kB / 445.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.2742, allocations: 1.574 MB / 446.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2745, allocations: 0.7005 MB / 447.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.2747, allocations: 32.89 kB / 447.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.2747, allocations: 31.41 kB / 447.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2747, allocations: 0 / 447.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.3015, allocations: 3.939 MB / 451.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.632, allocations: 0 / 451.6 MB, free: 2.828 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.066971781663597] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'eta', 'lambda', 's', 'cv', 'u', 'h', 'd'] 8.703001979738474 8.718671875 8.450631264 Calling exit ...