Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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.001785/0.001785, 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.002142/0.002142, 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.489/1.489, 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.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",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.002818/0.002818, allocations: 64.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.324, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006863/0.3309, allocations: 4.608 MB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3332, allocations: 1.814 MB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3333, allocations: 3.938 kB / 438.3 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3337, allocations: 43.75 kB / 438.4 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.3341, allocations: 123.2 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.3349, allocations: 254 kB / 438.7 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3353, allocations: 298.8 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.3354, allocations: 9.266 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3357, allocations: 135.6 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3358, allocations: 83.62 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.3359, allocations: 11.98 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.3361, allocations: 111.8 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.3362, allocations: 31.91 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3363, allocations: 83.66 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.3367, allocations: 220.1 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3367, allocations: 7.984 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3367, allocations: 0 / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3367, allocations: 0 / 439.7 MB, free: 15.03 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001118/0.3379, allocations: 421.8 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.3379, allocations: 12.03 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.261e-05/0.338, allocations: 50.67 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3382, allocations: 16.89 kB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3385, allocations: 150.4 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3385, allocations: 8.656 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.3386, allocations: 20.31 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.339, allocations: 221.4 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3391, allocations: 0 / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3391, allocations: 4 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3391, allocations: 7.938 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.3395, allocations: 156.5 kB / 440.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3408, allocations: 0.9025 MB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.3413, allocations: 146.8 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3414, allocations: 56.83 kB / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/0.3419, allocations: 344.1 kB / 442.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.3419, allocations: 30.56 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.3419, allocations: 0 / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002593/0.3445, allocations: 0.7027 MB / 442.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3446, allocations: 51.41 kB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3447, allocations: 163.2 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3448, allocations: 25.7 kB / 443.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.3449, allocations: 140.1 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3449, allocations: 79.31 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.345, allocations: 61.69 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3452, allocations: 322.8 kB / 443.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.3454, allocations: 91.88 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3457, allocations: 190 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.3463, allocations: 299.4 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3463, allocations: 0 / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007053/0.3471, allocations: 321.1 kB / 444.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3471, allocations: 8.469 kB / 444.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3471, allocations: 4 kB / 444.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3471, allocations: 8 kB / 444.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.3475, allocations: 79.89 kB / 444.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.3475, allocations: 7.938 kB / 444.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3477, allocations: 15.98 kB / 444.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.3478, allocations: 19.98 kB / 444.8 MB, free: 9.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001421/0.3479, allocations: 137.7 kB / 444.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.348, allocations: 19.91 kB / 444.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/0.3486, allocations: 245.1 kB / 445.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3486, allocations: 4 kB / 445.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3486, allocations: 0 / 445.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3486, allocations: 3.938 kB / 445.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.35, allocations: 0.5711 MB / 445.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.35, allocations: 8.031 kB / 445.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.3503, allocations: 47.95 kB / 445.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3503, allocations: 0 / 445.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3503, allocations: 8 kB / 445.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3504, allocations: 7.938 kB / 445.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3504, allocations: 7.875 kB / 445.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.3512, allocations: 414 kB / 446.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.3513, allocations: 27.88 kB / 446.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.3513, allocations: 4 kB / 446.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3516, allocations: 15.92 kB / 446.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3516, allocations: 19.92 kB / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.3516, allocations: 11.98 kB / 446.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.866e-05/0.3517, allocations: 114.9 kB / 446.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3517, allocations: 0 / 446.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.3521, allocations: 68 kB / 446.5 MB, free: 7.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.001248/0.3534, allocations: 0.9615 MB / 447.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.354, allocations: 207.8 kB / 447.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.354, allocations: 4.938 kB / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3542, allocations: 92 kB / 447.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3546, allocations: 45.23 kB / 447.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.3582, allocations: 2.384 MB / 450.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3586, allocations: 0.7128 MB / 450.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.3588, allocations: 49.92 kB / 450.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3589, allocations: 51.41 kB / 451 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3589, allocations: 0 / 451 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.3921, allocations: 4.729 MB / 455.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.478, allocations: 0 / 455.7 MB, free: 14.4 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.976134856697172] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T'] 8.553526164963841 8.581624988 8.239271133999999 Calling exit ...