Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008962/0.008961, allocations: 102 kB / 15.73 MB, free: 6.039 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.001994/0.001995, allocations: 194 kB / 16.67 MB, free: 5.961 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.002644/0.002644, allocations: 55.92 kB / 326.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1309, allocations: 46.62 MB / 373.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.2581/0.389, allocations: 24.56 MB / 397.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.3933, allocations: 2.487 MB / 400.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.3936, allocations: 8.781 kB / 400.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.3943, allocations: 161.4 kB / 400.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.3951, allocations: 324 kB / 400.7 MB, free: 12.02 MB / 334.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.typeClassSections: time 0.003022/0.3981, allocations: 1.014 MB / 401.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3994, allocations: 0.9004 MB / 402.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3996, allocations: 110.2 kB / 402.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/0.405, allocations: 3.059 MB / 405.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.4056, allocations: 272.9 kB / 406.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.4057, allocations: 33.78 kB / 406.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/0.4064, allocations: 243.1 kB / 406.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4065, allocations: 94.47 kB / 406.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.4068, allocations: 194.9 kB / 406.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.4075, allocations: 0.5729 MB / 407.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4075, allocations: 1.219 kB / 407.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4075, allocations: 0 / 407.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4075, allocations: 0 / 407.2 MB, free: 9.363 MB / 334.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.0009241/0.4085, allocations: 0.6247 MB / 407.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4085, allocations: 17.31 kB / 407.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.4089, allocations: 49.39 kB / 407.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.4094, allocations: 292.6 kB / 408.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4094, allocations: 18.16 kB / 408.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.4095, allocations: 26.53 kB / 408.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.41, allocations: 340.3 kB / 408.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4101, allocations: 0 / 408.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.4101, allocations: 13.09 kB / 408.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.4101, allocations: 6.719 kB / 408.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.4104, allocations: 195.7 kB / 408.8 MB, free: 8.117 MB / 334.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.002188/0.4126, allocations: 2.111 MB / 410.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.413, allocations: 186 kB / 411.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4131, allocations: 87.83 kB / 411.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.4133, allocations: 254.1 kB / 411.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.4134, allocations: 36.19 kB / 411.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.4134, allocations: 0 / 411.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002617/0.416, allocations: 1.018 MB / 412.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4161, allocations: 57.84 kB / 412.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.4164, allocations: 269.7 kB / 412.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.4164, allocations: 34.86 kB / 412.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4166, allocations: 187.5 kB / 413 MB, free: 4.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.4167, allocations: 99.69 kB / 413.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4168, allocations: 72.31 kB / 413.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4169, allocations: 341.9 kB / 413.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4171, allocations: 82.75 kB / 413.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.4173, allocations: 179.2 kB / 413.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.4178, allocations: 277.3 kB / 414 MB, free: 3.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4178, allocations: 5.688 kB / 414 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006141/0.4184, allocations: 369.3 kB / 414.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4184, allocations: 9.328 kB / 414.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4184, allocations: 3.594 kB / 414.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.4189, allocations: 95.55 kB / 414.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.4191, allocations: 70.84 kB / 414.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005735/0.4197, allocations: 0.6595 MB / 415.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4199, allocations: 12.56 kB / 415.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4199, allocations: 14.66 kB / 415.2 MB, free: 2.59 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.4201, allocations: 158.8 kB / 415.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.4202, allocations: 35.25 kB / 415.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.4209, allocations: 383 kB / 415.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4209, allocations: 3.406 kB / 415.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4209, allocations: 0 / 415.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005537/0.4215, allocations: 0.5437 MB / 416.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.4226, allocations: 0.7516 MB / 417.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4226, allocations: 1.594 kB / 417.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.4228, allocations: 32.61 kB / 417.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.4233, allocations: 107 kB / 417.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4233, allocations: 6.156 kB / 417.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004795/0.4238, allocations: 0.6389 MB / 417.9 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4238, allocations: 0 / 417.9 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.4245, allocations: 494.8 kB / 418.4 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4246, allocations: 104.8 kB / 418.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.4247, allocations: 6.312 kB / 418.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4249, allocations: 6.438 kB / 418.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.4249, allocations: 16.06 kB / 418.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.425, allocations: 20.27 kB / 418.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.4252, allocations: 193.6 kB / 418.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4252, allocations: 1.438 kB / 418.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.4257, allocations: 114.2 kB / 418.8 MB, free: 15.72 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.426, allocations: 151.5 kB / 419 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.4266, allocations: 245 kB / 419.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4266, allocations: 0.625 kB / 419.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.4269, allocations: 122.6 kB / 419.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.4279, allocations: 173.5 kB / 419.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4292, allocations: 0.6394 MB / 420.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.4296, allocations: 0.7624 MB / 420.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.4299, allocations: 63.91 kB / 421 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.4299, allocations: 30.98 kB / 421 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4299, allocations: 3.938 kB / 421 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01271/0.4427, allocations: 7.203 MB / 428.2 MB, free: 7.539 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)