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.001295/0.001295, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002381/0.002381, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.002109/0.002109, allocations: 64.77 kB / 378.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2501, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007464/0.2575, allocations: 4.986 MB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.2585, allocations: 0.6192 MB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.2585, allocations: 4 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.2587, allocations: 27.78 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.2603, allocations: 0.6189 MB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.2605, allocations: 95.11 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.2608, allocations: 175.3 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.2609, allocations: 7.984 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.262, allocations: 0.6276 MB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.266e-05/0.2621, allocations: 51.72 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2621, allocations: 7.938 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.2636, allocations: 0.9137 MB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.2637, allocations: 31.84 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.2638, allocations: 47.8 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.2642, allocations: 246.9 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2642, allocations: 0 / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2642, allocations: 0 / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2642, allocations: 0 / 440.3 MB, free: 14.43 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.0005132/0.2647, allocations: 345.7 kB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2648, allocations: 16.02 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.2648, allocations: 38.75 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.2652, allocations: 36.86 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2655, allocations: 138.4 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2655, allocations: 8.125 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.2655, allocations: 8 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2657, allocations: 141 kB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2658, allocations: 11.92 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2658, allocations: 0 / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2658, allocations: 8 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.266, allocations: 111.8 kB / 441.2 MB, free: 13.5 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.0007502/0.2667, allocations: 0.6324 MB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2669, allocations: 82.48 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.2669, allocations: 36.84 kB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.2672, allocations: 55.95 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2672, allocations: 30.56 kB / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.2672, allocations: 0 / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003157/0.2675, allocations: 133.8 kB / 442.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2676, allocations: 55.41 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2677, allocations: 121.7 kB / 442.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2677, allocations: 29.7 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.2678, allocations: 107.9 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.2678, allocations: 43.62 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.2679, allocations: 37.67 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.268, allocations: 318.8 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.2681, allocations: 27.98 kB / 442.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.2682, allocations: 77.19 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2683, allocations: 96.84 kB / 443.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2683, allocations: 4 kB / 443.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002304/0.2685, allocations: 141.5 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2686, allocations: 4 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2686, allocations: 0 / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2686, allocations: 7.938 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2687, allocations: 31.92 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2687, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.2688, allocations: 16.05 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2688, allocations: 15.98 kB / 443.3 MB, free: 11.24 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.0001083/0.2689, allocations: 121.7 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.2689, allocations: 11.95 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2692, allocations: 138.3 kB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2692, allocations: 7.984 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2692, allocations: 3.938 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2692, allocations: 4 kB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.2697, allocations: 365.4 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2697, allocations: 0 / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.2698, allocations: 23.98 kB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2698, allocations: 0 / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2698, allocations: 4 kB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.2698, allocations: 4 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2698, allocations: 3.938 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.27, allocations: 215 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2701, allocations: 19.92 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2701, allocations: 0 / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.2702, allocations: 4 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.2702, allocations: 15.97 kB / 444.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2702, allocations: 4 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.2703, allocations: 95.2 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2703, allocations: 0 / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.2706, allocations: 63.81 kB / 444.4 MB, free: 10.08 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.0007015/0.2713, allocations: 0.7942 MB / 445.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.2716, allocations: 79.91 kB / 445.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2716, allocations: 0 / 445.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.2716, allocations: 39.92 kB / 445.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.272, allocations: 44.2 kB / 445.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2737, allocations: 1.567 MB / 446.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.274, allocations: 0.6928 MB / 447.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.2742, allocations: 37.05 kB / 447.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.2742, allocations: 35.41 kB / 447.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2742, allocations: 0 / 447.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3005, allocations: 3.938 MB / 451.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.501, allocations: 15.73 kB / 451.6 MB, free: 2.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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: 10.801546385977417] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'eta', 'lambda', 's', 'cv', 'u', 'h', 'd'] 8.571579948998988 8.589825257 8.322159218 Calling exit ...