Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009353/0.0009355, allocations: 85.2 kB / 16.31 MB, free: 6.453 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.001064/0.001064, allocations: 175.8 kB / 17.2 MB, free: 6.328 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.542/1.542, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0005079/0.0005082, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3188, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009404/0.3282, allocations: 6.991 MB / 334.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.3292, allocations: 0.5795 MB / 335.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3293, allocations: 5.219 kB / 335.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.3296, allocations: 22.17 kB / 335.3 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.3314, allocations: 0.5108 MB / 335.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.3317, allocations: 80.88 kB / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3321, allocations: 190.3 kB / 336.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.3322, allocations: 5 kB / 336.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.3337, allocations: 0.6698 MB / 336.8 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3338, allocations: 51.77 kB / 336.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3338, allocations: 7.938 kB / 336.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.3355, allocations: 0.8908 MB / 337.7 MB, free: 9.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.3356, allocations: 23.95 kB / 337.7 MB, free: 9.496 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.3356, allocations: 45.64 kB / 337.8 MB, free: 9.445 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.336, allocations: 171.6 kB / 338 MB, free: 9.277 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.336, allocations: 0 / 338 MB, free: 9.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.336, allocations: 0 / 338 MB, free: 9.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.336, allocations: 0 / 338 MB, free: 9.277 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.0005889/0.3366, allocations: 399.1 kB / 338.3 MB, free: 8.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3367, allocations: 8.031 kB / 338.3 MB, free: 8.832 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.3371, allocations: 35.88 kB / 338.4 MB, free: 8.797 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.3374, allocations: 198.9 kB / 338.6 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3374, allocations: 7.984 kB / 338.6 MB, free: 8.555 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3374, allocations: 12 kB / 338.6 MB, free: 8.543 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3377, allocations: 133 kB / 338.7 MB, free: 8.395 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3377, allocations: 4 kB / 338.7 MB, free: 8.391 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3377, allocations: 3.938 kB / 338.7 MB, free: 8.387 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3377, allocations: 7.953 kB / 338.7 MB, free: 8.379 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3379, allocations: 107.9 kB / 338.8 MB, free: 8.273 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.0007723/0.3387, allocations: 0.6606 MB / 339.5 MB, free: 7.539 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3389, allocations: 82.5 kB / 339.6 MB, free: 7.449 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.339, allocations: 40.84 kB / 339.6 MB, free: 7.406 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/0.3398, allocations: 0.8154 MB / 340.4 MB, free: 6.406 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3399, allocations: 34.5 kB / 340.5 MB, free: 6.363 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.285e-06/0.3399, allocations: 0 / 340.5 MB, free: 6.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003722/0.3403, allocations: 130.3 kB / 340.6 MB, free: 6.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3403, allocations: 55.41 kB / 340.7 MB, free: 6.164 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3405, allocations: 114 kB / 340.8 MB, free: 6.043 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3405, allocations: 29.7 kB / 340.8 MB, free: 6.008 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.3406, allocations: 105 kB / 340.9 MB, free: 5.902 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.3407, allocations: 47.36 kB / 340.9 MB, free: 5.855 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.3407, allocations: 0 / 340.9 MB, free: 5.855 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3408, allocations: 314.8 kB / 341.3 MB, free: 5.539 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.3409, allocations: 31.92 kB / 341.3 MB, free: 5.508 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.341, allocations: 73.14 kB / 341.4 MB, free: 5.418 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.3411, allocations: 32.12 kB / 341.4 MB, free: 5.387 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3411, allocations: 3.938 kB / 341.4 MB, free: 5.383 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002219/0.3413, allocations: 145.5 kB / 341.5 MB, free: 5.234 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3414, allocations: 12 kB / 341.5 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3414, allocations: 0 / 341.5 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3414, allocations: 4 kB / 341.6 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3415, allocations: 35.92 kB / 341.6 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3415, allocations: 4 kB / 341.6 MB, free: 5.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.3416, allocations: 11.84 kB / 341.6 MB, free: 5.168 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3416, allocations: 8 kB / 341.6 MB, free: 5.16 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 9.955e-05/0.3417, allocations: 121.8 kB / 341.7 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3418, allocations: 15.84 kB / 341.7 MB, free: 5.016 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3421, allocations: 142.5 kB / 341.9 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3421, allocations: 4 kB / 341.9 MB, free: 4.871 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3421, allocations: 0 / 341.9 MB, free: 4.871 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3421, allocations: 3.984 kB / 341.9 MB, free: 4.867 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.3425, allocations: 390.4 kB / 342.3 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3426, allocations: 3.984 kB / 342.3 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.3426, allocations: 24 kB / 342.3 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3426, allocations: 0 / 342.3 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3427, allocations: 7.984 kB / 342.3 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3427, allocations: 0 / 342.3 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3427, allocations: 0 / 342.3 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3429, allocations: 211.3 kB / 342.5 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.343, allocations: 96.94 kB / 342.6 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.343, allocations: 4 kB / 342.6 MB, free: 4.055 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.3431, allocations: 8 kB / 342.6 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.3431, allocations: 7.984 kB / 342.6 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3431, allocations: 11.98 kB / 342.6 MB, free: 4.027 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.3432, allocations: 87.28 kB / 342.7 MB, free: 3.941 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 0 / 342.7 MB, free: 3.941 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.3435, allocations: 55.98 kB / 342.8 MB, free: 3.887 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.000313/0.3438, allocations: 167.4 kB / 342.9 MB, free: 3.711 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.344, allocations: 88.33 kB / 343 MB, free: 3.625 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.344, allocations: 0 / 343 MB, free: 3.625 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.3441, allocations: 48.11 kB / 343.1 MB, free: 3.578 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.3446, allocations: 43.09 kB / 343.1 MB, free: 3.539 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.345, allocations: 298.6 kB / 343.4 MB, free: 3.223 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3454, allocations: 0.7009 MB / 344.1 MB, free: 2.496 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.3455, allocations: 36.73 kB / 344.1 MB, free: 2.457 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3456, allocations: 19.42 kB / 344.2 MB, free: 2.438 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3456, allocations: 0 / 344.2 MB, free: 2.438 MB / 270.1 MB Notification: Performance of Templates: time 0.005809/0.3514, allocations: 2.307 MB / 346.5 MB, free: 136 kB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)