Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001484/0.001484, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0008296/0.0008297, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2787, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02721/0.306, allocations: 22.55 MB / 349 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.3095, allocations: 2.349 MB / 351.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3099, allocations: 8 kB / 351.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.3106, allocations: 115.2 kB / 351.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007955/0.3114, allocations: 298.5 kB / 351.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.3138, allocations: 0.8224 MB / 352.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.3154, allocations: 1.117 MB / 353.7 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3157, allocations: 72.69 kB / 353.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005807/0.3215, allocations: 2.82 MB / 356.6 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007643/0.3223, allocations: 275 kB / 356.9 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.3224, allocations: 12 kB / 356.9 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.3231, allocations: 211.6 kB / 357.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.3233, allocations: 79.7 kB / 357.2 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3235, allocations: 93.58 kB / 357.3 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.3241, allocations: 446.8 kB / 357.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3242, allocations: 0 / 357.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3242, allocations: 3.938 kB / 357.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.3242, allocations: 0 / 357.7 MB, free: 4.195 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001058/0.3253, allocations: 0.5495 MB / 358.3 MB, free: 3.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3253, allocations: 12.03 kB / 358.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.3258, allocations: 47.61 kB / 358.3 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3263, allocations: 286.4 kB / 358.6 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3263, allocations: 24.52 kB / 358.6 MB, free: 3.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3264, allocations: 24 kB / 358.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.3269, allocations: 330.2 kB / 359 MB, free: 2.812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3269, allocations: 0 / 359 MB, free: 2.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.327, allocations: 12 kB / 359 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.327, allocations: 12 kB / 359 MB, free: 2.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.3273, allocations: 193.5 kB / 359.2 MB, free: 2.598 MB / 286.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.002328/0.3297, allocations: 2.111 MB / 361.3 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.33, allocations: 186.5 kB / 361.5 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3302, allocations: 80.83 kB / 361.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.3304, allocations: 259.5 kB / 361.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3304, allocations: 42.56 kB / 361.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.3304, allocations: 0 / 361.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002594/0.333, allocations: 1.011 MB / 362.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3331, allocations: 55.41 kB / 362.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3334, allocations: 262.6 kB / 363.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3334, allocations: 29.7 kB / 363.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3335, allocations: 188 kB / 363.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.3336, allocations: 102.5 kB / 363.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.3336, allocations: 15.94 kB / 363.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3338, allocations: 338.8 kB / 363.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3339, allocations: 88.7 kB / 363.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3342, allocations: 158.9 kB / 364.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3344, allocations: 115.9 kB / 364.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3344, allocations: 0 / 364.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005786/0.335, allocations: 377.6 kB / 364.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.335, allocations: 11.94 kB / 364.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.335, allocations: 0 / 364.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.3354, allocations: 96.72 kB / 364.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3357, allocations: 68.22 kB / 364.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/0.3362, allocations: 0.6576 MB / 365.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3364, allocations: 15.94 kB / 365.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.3365, allocations: 23.98 kB / 365.4 MB, free: 11.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.3367, allocations: 157.8 kB / 365.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.3368, allocations: 27.72 kB / 365.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.3375, allocations: 372.9 kB / 366 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3375, allocations: 11.89 kB / 366 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3375, allocations: 0 / 366 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005264/0.338, allocations: 0.5514 MB / 366.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3391, allocations: 0.747 MB / 367.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3391, allocations: 8 kB / 367.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.3393, allocations: 31.92 kB / 367.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.3398, allocations: 104.8 kB / 367.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3398, allocations: 8 kB / 367.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004694/0.3403, allocations: 0.642 MB / 368.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3403, allocations: 0 / 368.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.341, allocations: 489.6 kB / 368.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.3411, allocations: 104.8 kB / 368.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.3412, allocations: 4 kB / 368.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3414, allocations: 19.89 kB / 368.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3415, allocations: 16.05 kB / 368.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.3415, allocations: 27.88 kB / 368.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3417, allocations: 190 kB / 368.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3417, allocations: 4 kB / 368.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.3421, allocations: 115.9 kB / 369 MB, free: 8.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.3424, allocations: 135.2 kB / 369.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.3429, allocations: 247.7 kB / 369.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.343, allocations: 0 / 369.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.3432, allocations: 127.7 kB / 369.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.3441, allocations: 153.4 kB / 369.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3454, allocations: 0.7476 MB / 370.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3458, allocations: 0.7611 MB / 371.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.3461, allocations: 67.27 kB / 371.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.3462, allocations: 31.42 kB / 371.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3462, allocations: 0 / 371.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of Templates: time 0.01117/0.3574, allocations: 6.345 MB / 377.6 MB, free: 15.34 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)