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.001693/0.001693, allocations: 109 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.001698/0.001698, allocations: 213.9 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001944/0.001944, allocations: 60.78 kB / 378.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.37 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006227/0.2659, allocations: 4.596 MB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.268, allocations: 1.821 MB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.2681, allocations: 7.938 kB / 438.3 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.2684, allocations: 35.75 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.2687, allocations: 131.2 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.2694, allocations: 257.7 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.2698, allocations: 298.8 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.2698, allocations: 9.266 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.2701, allocations: 135.6 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2702, allocations: 83.67 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2703, allocations: 11.94 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2705, allocations: 111.8 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.2706, allocations: 39.89 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.2707, allocations: 67.73 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2711, allocations: 232 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2711, allocations: 4 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2711, allocations: 0 / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2711, allocations: 0 / 439.7 MB, free: 15.1 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.0009904/0.2721, allocations: 417.8 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2721, allocations: 8.031 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.2722, allocations: 58.61 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2724, allocations: 24.83 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2727, allocations: 146.4 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2727, allocations: 16.64 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.2727, allocations: 20.31 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.2732, allocations: 221.4 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2732, allocations: 4 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.2732, allocations: 8 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2732, allocations: 4 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.2736, allocations: 152.5 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.275, allocations: 0.9025 MB / 441.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.2754, allocations: 142.8 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2755, allocations: 52.83 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.276, allocations: 336.1 kB / 442.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.276, allocations: 34.56 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.276, allocations: 0 / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0031/0.2791, allocations: 0.6919 MB / 442.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.2792, allocations: 59.41 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.2794, allocations: 154.4 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.2795, allocations: 33.7 kB / 443.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2796, allocations: 140.1 kB / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.2797, allocations: 79.3 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2798, allocations: 61.62 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.28, allocations: 326.8 kB / 443.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.2804, allocations: 91.88 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.2809, allocations: 190 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.2818, allocations: 295.3 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2818, allocations: 0 / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001088/0.2829, allocations: 328.2 kB / 444.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.2829, allocations: 8 kB / 444.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2829, allocations: 0 / 444.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2829, allocations: 8.469 kB / 444.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.2835, allocations: 83.89 kB / 444.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.2835, allocations: 7.938 kB / 444.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.2838, allocations: 19.98 kB / 444.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.2839, allocations: 19.98 kB / 444.8 MB, free: 9.656 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.0001835/0.2841, allocations: 133.7 kB / 444.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/0.2842, allocations: 15.91 kB / 444.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2852, allocations: 245.1 kB / 445.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2852, allocations: 0 / 445.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2852, allocations: 0 / 445.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2852, allocations: 0 / 445.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.2872, allocations: 0.5788 MB / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2872, allocations: 0 / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.2877, allocations: 52.08 kB / 445.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2877, allocations: 4 kB / 445.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.2877, allocations: 8 kB / 445.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.2877, allocations: 7.922 kB / 445.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.2877, allocations: 7.938 kB / 445.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2888, allocations: 395.2 kB / 446.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.2889, allocations: 31.91 kB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.2889, allocations: 12.06 kB / 446.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.2891, allocations: 19.92 kB / 446.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2892, allocations: 19.89 kB / 446.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.2892, allocations: 15.94 kB / 446.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.2893, allocations: 110.3 kB / 446.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 0 / 446.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.2897, allocations: 63.94 kB / 446.5 MB, free: 7.859 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.001469/0.2912, allocations: 0.972 MB / 447.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2918, allocations: 203.8 kB / 447.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2918, allocations: 0 / 447.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.292, allocations: 97 kB / 447.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2924, allocations: 46.5 kB / 447.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.296, allocations: 2.376 MB / 450.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.2964, allocations: 0.7168 MB / 450.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.2966, allocations: 45.94 kB / 450.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2967, allocations: 47.41 kB / 451 MB, free: 3.109 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2967, allocations: 0 / 451 MB, free: 3.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.3274, allocations: 4.731 MB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.434, allocations: 14.27 kB / 455.7 MB, free: 14.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 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.688420474063605] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T'] 8.505715672392398 8.521541328 8.24729458 Calling exit ...