Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01084/0.01084, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001785/0.001785, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001194/0.001194, allocations: 47.92 kB / 326.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 46.62 MB / 373.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.009798/0.1275, allocations: 4.478 MB / 377.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2538/0.3814, allocations: 1.81 MB / 379.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3816, allocations: 1.375 kB / 379.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.382, allocations: 45.89 kB / 379.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.3824, allocations: 121 kB / 379.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.3832, allocations: 246.9 kB / 379.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.3836, allocations: 288.7 kB / 380.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.3837, allocations: 9.984 kB / 380.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.384, allocations: 127 kB / 380.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3841, allocations: 88.45 kB / 380.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3841, allocations: 9.625 kB / 380.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.3845, allocations: 98.91 kB / 380.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.3846, allocations: 41.89 kB / 380.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3847, allocations: 73.94 kB / 380.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.3852, allocations: 207.4 kB / 380.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3852, allocations: 0.5938 kB / 380.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3852, allocations: 0 / 380.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3852, allocations: 0.5 kB / 380.8 MB, free: 9.473 MB / 318.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.001069/0.3863, allocations: 491.8 kB / 381.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3863, allocations: 9.125 kB / 381.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.3865, allocations: 24.95 kB / 381.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3868, allocations: 210.3 kB / 381.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3869, allocations: 9.969 kB / 381.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.3869, allocations: 17.5 kB / 381.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.3874, allocations: 215.4 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3874, allocations: 7.5 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.3874, allocations: 7.219 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3874, allocations: 3.25 kB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.3878, allocations: 153.5 kB / 381.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3891, allocations: 0.944 MB / 382.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.3895, allocations: 151.9 kB / 383 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3897, allocations: 59.62 kB / 383 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/0.3901, allocations: 0.5029 MB / 383.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3902, allocations: 36.28 kB / 383.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.3902, allocations: 1.062 kB / 383.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002715/0.3929, allocations: 0.7791 MB / 384.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.3929, allocations: 52.78 kB / 384.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3931, allocations: 150.9 kB / 384.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3931, allocations: 31.52 kB / 384.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3932, allocations: 135.4 kB / 384.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.3932, allocations: 76.38 kB / 384.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3934, allocations: 61.64 kB / 384.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.3934, allocations: 331.6 kB / 385.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3937, allocations: 83.52 kB / 385.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.394, allocations: 191.8 kB / 385.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.3946, allocations: 294.2 kB / 385.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3946, allocations: 1.344 kB / 385.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007227/0.3953, allocations: 326 kB / 386.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3953, allocations: 7.672 kB / 386.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3953, allocations: 7.469 kB / 386.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3954, allocations: 5.688 kB / 386.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.3958, allocations: 78.48 kB / 386.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3958, allocations: 10.31 kB / 386.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.396, allocations: 20.22 kB / 386.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.3961, allocations: 12.27 kB / 386.2 MB, free: 6.086 MB / 318.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.0001163/0.3962, allocations: 143 kB / 386.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.3963, allocations: 15.34 kB / 386.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.397, allocations: 235.2 kB / 386.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.397, allocations: 2.312 kB / 386.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.397, allocations: 1.125 kB / 386.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.397, allocations: 1.734 kB / 386.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.3984, allocations: 0.5938 MB / 387.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3984, allocations: 1.125 kB / 387.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.3987, allocations: 52.19 kB / 387.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3987, allocations: 2.969 kB / 387.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3988, allocations: 8.031 kB / 387.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3988, allocations: 7.562 kB / 387.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3988, allocations: 1 kB / 387.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.3996, allocations: 408 kB / 387.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3997, allocations: 95.89 kB / 387.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3997, allocations: 11.8 kB / 387.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.4, allocations: 14.86 kB / 387.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4, allocations: 14.77 kB / 387.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4001, allocations: 8.531 kB / 387.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.4001, allocations: 108.7 kB / 387.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4002, allocations: 4.062 kB / 387.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.4006, allocations: 64.53 kB / 388 MB, free: 5.055 MB / 318.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.0002589/0.4009, allocations: 131.2 kB / 388.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007094/0.4016, allocations: 218.4 kB / 388.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4016, allocations: 0 / 388.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.4019, allocations: 95.44 kB / 388.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4023, allocations: 46.67 kB / 388.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4034, allocations: 468.6 kB / 388.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4036, allocations: 0.7168 MB / 389.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.4039, allocations: 50.52 kB / 389.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.404, allocations: 23.89 kB / 389.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.404, allocations: 4 kB / 389.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Templates: time 0.008044/0.4121, allocations: 2.726 MB / 392.4 MB, free: 3.602 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)