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.00126/0.00126, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001439/0.001439, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.392/1.392, allocations: 230.4 MB / 254.7 MB, free: 15.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.001888/0.001888, allocations: 67.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.32 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1922/0.297, allocations: 4.929 MB / 431.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.2979, allocations: 0.6153 MB / 432.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2979, allocations: 0.8125 kB / 432.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2982, allocations: 34.16 kB / 432.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.2995, allocations: 0.5926 MB / 433 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.2997, allocations: 89.59 kB / 433.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2999, allocations: 180.3 kB / 433.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.3, allocations: 6.594 kB / 433.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/0.3008, allocations: 0.6158 MB / 433.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.3009, allocations: 50.66 kB / 434 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3009, allocations: 8.438 kB / 434 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3021, allocations: 0.8821 MB / 434.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.3021, allocations: 26.45 kB / 434.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.3022, allocations: 48.78 kB / 434.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.3026, allocations: 239.8 kB / 435.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3026, allocations: 0 / 435.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3026, allocations: 1.219 kB / 435.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3026, allocations: 0 / 435.2 MB, free: 7.453 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.0004131/0.303, allocations: 429 kB / 435.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.303, allocations: 12.66 kB / 435.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.3031, allocations: 45.83 kB / 435.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.3034, allocations: 40.3 kB / 435.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3037, allocations: 187.8 kB / 435.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3037, allocations: 8.141 kB / 435.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3037, allocations: 11.19 kB / 435.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3039, allocations: 137.9 kB / 436 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3039, allocations: 1.031 kB / 436 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3039, allocations: 9.734 kB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3039, allocations: 2.438 kB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3041, allocations: 109.1 kB / 436.1 MB, free: 6.73 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.0005394/0.3046, allocations: 0.6601 MB / 436.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3048, allocations: 81.16 kB / 436.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3048, allocations: 35.28 kB / 436.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000368/0.3052, allocations: 0.8067 MB / 437.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.3052, allocations: 31.94 kB / 437.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.3052, allocations: 5.5 kB / 437.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002617/0.3055, allocations: 131.2 kB / 437.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.3055, allocations: 60.47 kB / 438 MB, free: 5.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.3056, allocations: 116.1 kB / 438.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3056, allocations: 30.27 kB / 438.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.3056, allocations: 100.3 kB / 438.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3056, allocations: 46.05 kB / 438.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3057, allocations: 40.67 kB / 438.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.3057, allocations: 318.8 kB / 438.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.3058, allocations: 24.61 kB / 438.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.3058, allocations: 74.8 kB / 438.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.306, allocations: 112.5 kB / 438.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.306, allocations: 1.812 kB / 438.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001974/0.3062, allocations: 139.2 kB / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3062, allocations: 7.672 kB / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3062, allocations: 1.531 kB / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3062, allocations: 2.344 kB / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3063, allocations: 34.19 kB / 439 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3063, allocations: 7.688 kB / 439 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.3064, allocations: 18.92 kB / 439 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3064, allocations: 8.125 kB / 439 MB, free: 4.254 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 5.794e-05/0.3065, allocations: 117.9 kB / 439.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.3065, allocations: 7.984 kB / 439.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3068, allocations: 142 kB / 439.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3068, allocations: 5.969 kB / 439.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3068, allocations: 4 kB / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3068, allocations: 0.7969 kB / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3071, allocations: 395.8 kB / 439.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3071, allocations: 4.641 kB / 439.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.3072, allocations: 25.23 kB / 439.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3072, allocations: 0.9375 kB / 439.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3072, allocations: 1.969 kB / 439.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3072, allocations: 1.812 kB / 439.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3072, allocations: 3.938 kB / 439.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3074, allocations: 205.8 kB / 439.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3074, allocations: 98.42 kB / 440 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3075, allocations: 5.469 kB / 440 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.3076, allocations: 1.938 kB / 440 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.3076, allocations: 12.88 kB / 440 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3076, allocations: 11.2 kB / 440 MB, free: 3.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.3076, allocations: 91 kB / 440.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 440.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.308, allocations: 70.12 kB / 440.2 MB, free: 3.426 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.0004655/0.3084, allocations: 0.7923 MB / 441 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.3086, allocations: 82.39 kB / 441.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3086, allocations: 1.156 kB / 441.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.3087, allocations: 37.47 kB / 441.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3091, allocations: 44.67 kB / 441.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3103, allocations: 1.575 MB / 442.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3104, allocations: 0.6934 MB / 443.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3106, allocations: 37.09 kB / 443.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.3106, allocations: 28.45 kB / 443.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3106, allocations: 4 kB / 443.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3361, allocations: 3.862 MB / 447.3 MB, free: 180 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.307, allocations: 9.031 kB / 447.4 MB, free: 176 kB / 350.1 MB " [Timeout remaining time 652] (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.506976730655879] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'eta', 'lambda', 's', 'cv', 'u', 'h', 'd'] 8.376833063084632 8.392682722 8.086977163 Calling exit ...