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.001292/0.001292, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001485/0.001485, allocations: 195 kB / 18 MB, free: 5.105 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.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001245/0.001245, allocations: 51.94 kB / 327.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1466, allocations: 46.61 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2903/0.437, allocations: 7.752 MB / 382.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.438, allocations: 0.6244 MB / 382.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.438, allocations: 0.5312 kB / 382.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.4384, allocations: 32.38 kB / 382.9 MB, free: 8.98 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.001675/0.4401, allocations: 0.5743 MB / 383.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.4403, allocations: 96.91 kB / 383.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.4406, allocations: 177.6 kB / 383.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.4407, allocations: 5.328 kB / 383.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.4419, allocations: 0.6245 MB / 384.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.442, allocations: 45.14 kB / 384.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.442, allocations: 4.625 kB / 384.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.4435, allocations: 0.8569 MB / 385.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.4436, allocations: 17.5 kB / 385.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.4436, allocations: 55.03 kB / 385.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.4441, allocations: 237 kB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4441, allocations: 0 / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4441, allocations: 0 / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4441, allocations: 0 / 385.6 MB, free: 8.5 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004577/0.4446, allocations: 418.9 kB / 386 MB, free: 8.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4446, allocations: 10.12 kB / 386 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.445, allocations: 35.58 kB / 386 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.4453, allocations: 195 kB / 386.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.4453, allocations: 2.844 kB / 386.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4453, allocations: 10.06 kB / 386.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4456, allocations: 147.2 kB / 386.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4456, allocations: 0 / 386.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.4456, allocations: 7.75 kB / 386.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4456, allocations: 2.5 kB / 386.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4458, allocations: 110.8 kB / 386.5 MB, free: 7.824 MB / 318.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.0006089/0.4465, allocations: 0.6686 MB / 387.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4466, allocations: 86.78 kB / 387.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.4467, allocations: 39.31 kB / 387.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.4471, allocations: 0.8115 MB / 388.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4471, allocations: 32.72 kB / 388.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4471, allocations: 1.438 kB / 388.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003033/0.4475, allocations: 128.8 kB / 388.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4475, allocations: 53.34 kB / 388.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.4476, allocations: 123.7 kB / 388.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4476, allocations: 30.52 kB / 388.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.4476, allocations: 101.9 kB / 388.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4477, allocations: 40.25 kB / 388.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.4477, allocations: 36.3 kB / 388.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.4478, allocations: 319 kB / 388.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.4479, allocations: 26.47 kB / 388.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.4479, allocations: 70.33 kB / 389 MB, free: 5.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4481, allocations: 114.4 kB / 389.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4481, allocations: 5.094 kB / 389.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001968/0.4483, allocations: 137.4 kB / 389.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4483, allocations: 6.656 kB / 389.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4483, allocations: 1.312 kB / 389.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4483, allocations: 2.625 kB / 389.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4485, allocations: 32.92 kB / 389.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4485, allocations: 10.91 kB / 389.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.4485, allocations: 18.34 kB / 389.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.4486, allocations: 8.625 kB / 389.3 MB, free: 5.297 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.4486, allocations: 118.2 kB / 389.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.4487, allocations: 8.938 kB / 389.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.449, allocations: 145.2 kB / 389.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.449, allocations: 10.33 kB / 389.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.449, allocations: 4.734 kB / 389.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.449, allocations: 0.5625 kB / 389.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.4494, allocations: 386.6 kB / 390 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4494, allocations: 1.719 kB / 390 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.4495, allocations: 24.8 kB / 390 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4495, allocations: 5.125 kB / 390 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4495, allocations: 9.625 kB / 390 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4495, allocations: 1.188 kB / 390 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4495, allocations: 4 kB / 390 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4497, allocations: 198.3 kB / 390.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.4498, allocations: 100.4 kB / 390.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4498, allocations: 9.656 kB / 390.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.4499, allocations: 1.578 kB / 390.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4499, allocations: 12.3 kB / 390.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.45, allocations: 9.266 kB / 390.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.45, allocations: 99.23 kB / 390.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.45, allocations: 0 / 390.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.4504, allocations: 52.95 kB / 390.5 MB, free: 4.348 MB / 318.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 (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.0002793/0.4507, allocations: 158.8 kB / 390.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4509, allocations: 78.98 kB / 390.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4509, allocations: 0 / 390.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.4509, allocations: 42.2 kB / 390.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.4514, allocations: 43.19 kB / 390.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.4518, allocations: 235.3 kB / 391.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.452, allocations: 0.6942 MB / 391.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.4521, allocations: 33.94 kB / 391.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.4521, allocations: 22.8 kB / 391.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4521, allocations: 0 / 391.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of Templates: time 0.006301/0.4584, allocations: 2.453 MB / 394.3 MB, free: 3.02 MB / 318.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)