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.001664/0.001664, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001944/0.001944, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.462/1.462, allocations: 230.5 MB / 254.8 MB, free: 14.95 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.002059/0.002059, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2049/0.3126, allocations: 4.934 MB / 431.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.3135, allocations: 0.6132 MB / 432.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.3136, allocations: 1.734 kB / 432.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.3138, allocations: 32.03 kB / 432.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.3153, allocations: 0.592 MB / 433.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3155, allocations: 88.12 kB / 433.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3158, allocations: 183.3 kB / 433.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.3158, allocations: 7.141 kB / 433.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.3168, allocations: 0.6125 MB / 434 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.3169, allocations: 55.95 kB / 434.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3169, allocations: 5.656 kB / 434.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.3185, allocations: 0.8866 MB / 435 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.3186, allocations: 19.84 kB / 435 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.3186, allocations: 49.58 kB / 435.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.3191, allocations: 240.9 kB / 435.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3191, allocations: 3.938 kB / 435.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3191, allocations: 0 / 435.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3192, allocations: 1.156 kB / 435.3 MB, free: 7.375 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.0005657/0.3197, allocations: 427.3 kB / 435.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3198, allocations: 17.91 kB / 435.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.3198, allocations: 39.25 kB / 435.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.3202, allocations: 39.28 kB / 435.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.3205, allocations: 192.9 kB / 436 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3205, allocations: 8.125 kB / 436 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3206, allocations: 12.41 kB / 436 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3208, allocations: 139.2 kB / 436.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3209, allocations: 1.922 kB / 436.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3209, allocations: 4.75 kB / 436.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3209, allocations: 6.719 kB / 436.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.3211, allocations: 108 kB / 436.3 MB, free: 6.648 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.0006242/0.3217, allocations: 0.6553 MB / 436.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3218, allocations: 82.88 kB / 437 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.3219, allocations: 39.67 kB / 437.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/0.3223, allocations: 0.8058 MB / 437.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3224, allocations: 32.34 kB / 437.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3224, allocations: 1.094 kB / 437.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002815/0.3227, allocations: 131.5 kB / 438 MB, free: 5.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3227, allocations: 57.23 kB / 438.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.3227, allocations: 117.8 kB / 438.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3228, allocations: 29.67 kB / 438.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3228, allocations: 104.2 kB / 438.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.3228, allocations: 45.72 kB / 438.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.3229, allocations: 39.27 kB / 438.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.3229, allocations: 318.2 kB / 438.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.323, allocations: 27.83 kB / 438.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.323, allocations: 73.64 kB / 438.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3232, allocations: 106.7 kB / 438.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3232, allocations: 5.594 kB / 438.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001989/0.3234, allocations: 137.2 kB / 439.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3234, allocations: 5.969 kB / 439.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3234, allocations: 2.094 kB / 439.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3234, allocations: 1.312 kB / 439.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3235, allocations: 36.17 kB / 439.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3235, allocations: 3.578 kB / 439.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.3236, allocations: 13.77 kB / 439.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3236, allocations: 12.95 kB / 439.1 MB, free: 4.176 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 7.016e-05/0.3237, allocations: 123.9 kB / 439.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.3237, allocations: 9.734 kB / 439.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.324, allocations: 139.9 kB / 439.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.324, allocations: 5.875 kB / 439.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.324, allocations: 1.031 kB / 439.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.324, allocations: 0.75 kB / 439.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.3244, allocations: 398.6 kB / 439.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3244, allocations: 5.703 kB / 439.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.3245, allocations: 28.89 kB / 439.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3245, allocations: 1.188 kB / 439.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3245, allocations: 5.516 kB / 439.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3245, allocations: 1.031 kB / 439.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3245, allocations: 1.188 kB / 439.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3247, allocations: 206.8 kB / 440 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3247, allocations: 100 kB / 440.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3247, allocations: 2.844 kB / 440.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.3248, allocations: 4.719 kB / 440.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.3249, allocations: 7.594 kB / 440.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3249, allocations: 5.797 kB / 440.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.3249, allocations: 99.45 kB / 440.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3249, allocations: 0 / 440.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3253, allocations: 66.75 kB / 440.3 MB, free: 3.344 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.0005582/0.3258, allocations: 0.7941 MB / 441.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.326, allocations: 86.03 kB / 441.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.326, allocations: 0 / 441.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.3261, allocations: 38.08 kB / 441.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3265, allocations: 43.25 kB / 441.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3278, allocations: 1.579 MB / 442.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3279, allocations: 0.6938 MB / 443.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.328, allocations: 34.56 kB / 443.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.3281, allocations: 29.11 kB / 443.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3281, allocations: 0 / 443.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.3538, allocations: 3.865 MB / 447.5 MB, free: 100 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.391, allocations: 5.516 kB / 447.5 MB, free: 96 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 & 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: 10.862781669944525] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'eta', 'lambda', 's', 'cv', 'u', 'h', 'd'] 8.462160233873874 8.485821054 8.162224323 Calling exit ...