Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.0008541, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009015/0.0009016, allocations: 168.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.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005774/0.0005776, allocations: 18.8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009208/0.2915, allocations: 6.99 MB / 333.5 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.2923, allocations: 0.5837 MB / 334 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.2924, allocations: 0 / 334 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2926, allocations: 19.97 kB / 334.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.2941, allocations: 0.5141 MB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2943, allocations: 85.81 kB / 334.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.2946, allocations: 194 kB / 334.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.2947, allocations: 8.312 kB / 334.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.296, allocations: 0.6582 MB / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.2961, allocations: 47.83 kB / 335.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2961, allocations: 4 kB / 335.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2977, allocations: 0.9025 MB / 336.5 MB, free: 9.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.2977, allocations: 15.92 kB / 336.5 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2978, allocations: 41.64 kB / 336.5 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.2981, allocations: 183.6 kB / 336.7 MB, free: 9.227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2981, allocations: 0 / 336.7 MB, free: 9.227 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2981, allocations: 3.938 kB / 336.7 MB, free: 9.223 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2981, allocations: 0 / 336.7 MB, free: 9.223 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004806/0.2986, allocations: 395.2 kB / 337.1 MB, free: 8.789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2987, allocations: 8.031 kB / 337.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.2991, allocations: 31.88 kB / 337.1 MB, free: 8.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2993, allocations: 190.9 kB / 337.3 MB, free: 8.523 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2993, allocations: 8 kB / 337.3 MB, free: 8.516 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2993, allocations: 11.98 kB / 337.3 MB, free: 8.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2996, allocations: 136.9 kB / 337.5 MB, free: 8.352 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2996, allocations: 4 kB / 337.5 MB, free: 8.348 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.2996, allocations: 4 kB / 337.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2997, allocations: 7.953 kB / 337.5 MB, free: 8.336 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.2998, allocations: 103.8 kB / 337.6 MB, free: 8.234 MB / 270.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.0007573/0.3006, allocations: 0.6723 MB / 338.3 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3007, allocations: 86.5 kB / 338.3 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.3008, allocations: 36.83 kB / 338.4 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.3015, allocations: 0.8115 MB / 339.2 MB, free: 6.359 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3015, allocations: 34.56 kB / 339.2 MB, free: 6.316 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3015, allocations: 7.938 kB / 339.2 MB, free: 6.309 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002852/0.3018, allocations: 137.9 kB / 339.4 MB, free: 6.168 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3018, allocations: 51.41 kB / 339.4 MB, free: 6.105 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.302, allocations: 118 kB / 339.5 MB, free: 5.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.302, allocations: 25.7 kB / 339.6 MB, free: 5.949 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.3021, allocations: 105 kB / 339.7 MB, free: 5.844 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3021, allocations: 39.36 kB / 339.7 MB, free: 5.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.3021, allocations: 8 kB / 339.7 MB, free: 5.797 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.3022, allocations: 322.8 kB / 340 MB, free: 5.473 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.3023, allocations: 23.98 kB / 340 MB, free: 5.449 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.3024, allocations: 65.14 kB / 340.1 MB, free: 5.367 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.3024, allocations: 35.92 kB / 340.1 MB, free: 5.332 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3024, allocations: 4 kB / 340.2 MB, free: 5.328 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000194/0.3026, allocations: 141.4 kB / 340.3 MB, free: 5.184 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3027, allocations: 11.28 kB / 340.3 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3027, allocations: 0 / 340.3 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3027, allocations: 4.375 kB / 340.3 MB, free: 5.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3028, allocations: 27.98 kB / 340.3 MB, free: 5.145 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3028, allocations: 7.984 kB / 340.3 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.3029, allocations: 19.78 kB / 340.4 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3029, allocations: 12.09 kB / 340.4 MB, free: 5.105 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 prepare postOptimizeDAE: time 8.794e-05/0.303, allocations: 117.8 kB / 340.5 MB, free: 4.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3031, allocations: 15.86 kB / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.3033, allocations: 134.1 kB / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3033, allocations: 0 / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3034, allocations: 4 kB / 340.6 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3034, allocations: 4 kB / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.3038, allocations: 390.4 kB / 341 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3038, allocations: 0 / 341 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.3039, allocations: 27.92 kB / 341 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3039, allocations: 4 kB / 341.1 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3039, allocations: 0 / 341.1 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3039, allocations: 0 / 341.1 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3039, allocations: 3.938 kB / 341.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3041, allocations: 208.3 kB / 341.3 MB, free: 4.133 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.3042, allocations: 104.9 kB / 341.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3042, allocations: 0 / 341.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.3043, allocations: 8 kB / 341.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.3043, allocations: 11.98 kB / 341.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3043, allocations: 4 kB / 341.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.3044, allocations: 99.14 kB / 341.5 MB, free: 3.891 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3044, allocations: 0 / 341.5 MB, free: 3.891 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.3047, allocations: 60 kB / 341.5 MB, free: 3.832 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0003245/0.3051, allocations: 163.2 kB / 341.7 MB, free: 3.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3052, allocations: 84.03 kB / 341.8 MB, free: 3.578 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3052, allocations: 0 / 341.8 MB, free: 3.578 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.3053, allocations: 39.92 kB / 341.8 MB, free: 3.539 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3058, allocations: 48.27 kB / 341.9 MB, free: 3.492 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.3062, allocations: 298.7 kB / 342.2 MB, free: 3.176 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3065, allocations: 0.6969 MB / 342.9 MB, free: 2.453 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.3066, allocations: 33.03 kB / 342.9 MB, free: 2.418 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3067, allocations: 19.42 kB / 342.9 MB, free: 2.398 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3067, allocations: 0 / 342.9 MB, free: 2.398 MB / 270.1 MB Notification: Performance of Templates: time 0.005529/0.3122, allocations: 2.319 MB / 345.2 MB, free: 84 kB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)