Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 91.5 kB / 16.31 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 179.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006974/0.0006975, allocations: 14.81 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2857, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01207/0.2979, allocations: 11.71 MB / 339.4 MB, free: 7.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.3, allocations: 1.601 MB / 341 MB, free: 6.176 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.3003, allocations: 4 kB / 341.1 MB, free: 6.172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.3008, allocations: 131.2 kB / 341.2 MB, free: 6.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.3014, allocations: 298.5 kB / 341.5 MB, free: 5.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.3023, allocations: 343.2 kB / 341.8 MB, free: 5.414 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.3036, allocations: 1.051 MB / 342.9 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.3038, allocations: 64.69 kB / 342.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.3044, allocations: 338.8 kB / 343.3 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.3048, allocations: 255 kB / 343.5 MB, free: 3.715 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.3048, allocations: 16 kB / 343.5 MB, free: 3.699 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.305, allocations: 47.92 kB / 343.6 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.3051, allocations: 75.7 kB / 343.6 MB, free: 3.578 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.3052, allocations: 89.58 kB / 343.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.3056, allocations: 352.5 kB / 344.1 MB, free: 3.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3056, allocations: 4 kB / 344.1 MB, free: 3.137 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3056, allocations: 4 kB / 344.1 MB, free: 3.133 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3056, allocations: 0 / 344.1 MB, free: 3.133 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007109/0.3064, allocations: 0.5106 MB / 344.6 MB, free: 2.574 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3064, allocations: 12.02 kB / 344.6 MB, free: 2.562 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.3067, allocations: 39.62 kB / 344.6 MB, free: 2.523 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.307, allocations: 278.4 kB / 344.9 MB, free: 2.211 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.307, allocations: 24.55 kB / 344.9 MB, free: 2.188 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.3071, allocations: 28 kB / 345 MB, free: 2.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.3075, allocations: 313.4 kB / 345.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3075, allocations: 7.953 kB / 345.3 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3076, allocations: 12 kB / 345.3 MB, free: 1.797 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3076, allocations: 8 kB / 345.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3079, allocations: 193.5 kB / 345.5 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3097, allocations: 1.736 MB / 347.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3099, allocations: 126.5 kB / 347.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.31, allocations: 72.88 kB / 347.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.3102, allocations: 166.2 kB / 347.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3103, allocations: 46.5 kB / 347.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3103, allocations: 4 kB / 347.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001705/0.312, allocations: 0.7887 MB / 348.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.312, allocations: 55.34 kB / 348.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.3123, allocations: 282.5 kB / 348.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3123, allocations: 29.7 kB / 348.8 MB, free: 14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3125, allocations: 195.6 kB / 349 MB, free: 13.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.3125, allocations: 82.84 kB / 349 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.3126, allocations: 4 kB / 349 MB, free: 13.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3127, allocations: 334.8 kB / 349.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3128, allocations: 71.75 kB / 349.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.313, allocations: 195.2 kB / 349.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3132, allocations: 103.9 kB / 349.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3132, allocations: 0 / 349.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005043/0.3137, allocations: 325.7 kB / 350.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3138, allocations: 8 kB / 350.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3138, allocations: 4 kB / 350.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.422e-05/0.3139, allocations: 29.34 kB / 350.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3142, allocations: 91.83 kB / 350.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3153, allocations: 1.284 MB / 351.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3155, allocations: 23.83 kB / 351.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.3155, allocations: 16 kB / 351.5 MB, free: 11.05 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.3157, allocations: 161.6 kB / 351.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3157, allocations: 27.72 kB / 351.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.3161, allocations: 217.2 kB / 351.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3161, allocations: 0 / 351.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.3161, allocations: 0 / 351.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003745/0.3165, allocations: 487.7 kB / 352.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3176, allocations: 0.7721 MB / 353.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3176, allocations: 3.984 kB / 353.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.3178, allocations: 43.92 kB / 353.2 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3178, allocations: 8 kB / 353.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3178, allocations: 11.95 kB / 353.2 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3178, allocations: 12.2 kB / 353.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3178, allocations: 4 kB / 353.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.3183, allocations: 402.8 kB / 353.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3184, allocations: 100.7 kB / 353.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.3184, allocations: 15.94 kB / 353.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3186, allocations: 16 kB / 353.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3187, allocations: 20.03 kB / 353.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3187, allocations: 12 kB / 353.8 MB, free: 8.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3189, allocations: 201.9 kB / 354 MB, free: 8.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 7.938 kB / 354 MB, free: 8.297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.3193, allocations: 99.94 kB / 354.1 MB, free: 8.199 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.3195, allocations: 123.2 kB / 354.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.32, allocations: 295 kB / 354.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.32, allocations: 4 kB / 354.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3201, allocations: 68.92 kB / 354.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.3211, allocations: 165.7 kB / 354.7 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3221, allocations: 0.7527 MB / 355.5 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3224, allocations: 0.7563 MB / 356.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.3227, allocations: 59.25 kB / 356.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3228, allocations: 27.44 kB / 356.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3228, allocations: 0 / 356.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of Templates: time 0.009024/0.3318, allocations: 5.132 MB / 361.5 MB, free: 0.7266 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)