Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001327/0.001327, allocations: 179.8 kB / 17.2 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 241.1 MB, free: 400 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.0002129, allocations: 11.94 kB / 300.7 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08202, allocations: 50.41 MB / 351.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001157/0.08321, allocations: 1.04 MB / 352.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.08702, allocations: 3.386 MB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.08706, allocations: 0 / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.08709, allocations: 7.938 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.08777, allocations: 231.4 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.08844, allocations: 358.3 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.08852, allocations: 47.92 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.08856, allocations: 3.984 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.08865, allocations: 39.84 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.08931, allocations: 371.5 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.08934, allocations: 4 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.09, allocations: 403.4 kB / 357 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.09003, allocations: 11.98 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.09007, allocations: 33.64 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.09048, allocations: 247.8 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.09049, allocations: 0 / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09049, allocations: 0 / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.0905, allocations: 0 / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004867/0.09099, allocations: 435 kB / 357.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.09103, allocations: 11.97 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.09107, allocations: 7.906 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.09127, allocations: 179 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.09129, allocations: 7.984 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.09132, allocations: 8 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.09144, allocations: 55.34 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.09146, allocations: 11.98 kB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.09148, allocations: 0 / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.09149, allocations: 7.938 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.09157, allocations: 19.98 kB / 358 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.09174, allocations: 174.4 kB / 358.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.09201, allocations: 81.3 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.09294, allocations: 1.536 MB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.09298, allocations: 30.56 kB / 359.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.09299, allocations: 0 / 359.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002542/0.09325, allocations: 81.59 kB / 359.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.0933, allocations: 85.09 kB / 360 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.0934, allocations: 113.8 kB / 360.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.09343, allocations: 33.64 kB / 360.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.09347, allocations: 80.14 kB / 360.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.09352, allocations: 23.66 kB / 360.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.09353, allocations: 0 / 360.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.09364, allocations: 318.8 kB / 360.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.09369, allocations: 8 kB / 360.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.09377, allocations: 47.41 kB / 360.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.09383, allocations: 12 kB / 360.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.09384, allocations: 0 / 360.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001738/0.09402, allocations: 89.5 kB / 360.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.09405, allocations: 4 kB / 360.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.09406, allocations: 12 kB / 360.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.09408, allocations: 0 / 360.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.09415, allocations: 12 kB / 360.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.09416, allocations: 7.984 kB / 360.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.09421, allocations: 7.891 kB / 360.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.09423, allocations: 4 kB / 360.8 MB, free: 9.812 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 7.228e-05/0.09431, allocations: 113.8 kB / 360.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.09433, allocations: 3.906 kB / 360.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.09465, allocations: 125.3 kB / 361 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.09467, allocations: 0 / 361 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.09468, allocations: 0 / 361 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.09469, allocations: 7.922 kB / 361 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.09482, allocations: 169.6 kB / 361.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.09483, allocations: 0 / 361.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.09491, allocations: 16.03 kB / 361.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.09492, allocations: 7.984 kB / 361.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.09494, allocations: 8 kB / 361.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.09495, allocations: 0 / 361.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09496, allocations: 480 / 361.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.09527, allocations: 167.5 kB / 361.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.09533, allocations: 93.06 kB / 361.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.09536, allocations: 4 kB / 361.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.09541, allocations: 7.984 kB / 361.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.09544, allocations: 4 kB / 361.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.09546, allocations: 4 kB / 361.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.09551, allocations: 91.22 kB / 361.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.09551, allocations: 0 / 361.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.09589, allocations: 135.8 kB / 361.7 MB, free: 8.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005319/0.09643, allocations: 292.5 kB / 362 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.09661, allocations: 47.91 kB / 362 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.09663, allocations: 0 / 362 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.09672, allocations: 27.92 kB / 362 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.09687, allocations: 10.75 kB / 362.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.09734, allocations: 349.9 kB / 362.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.09754, allocations: 0.6887 MB / 363.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.09762, allocations: 27.34 kB / 363.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.09766, allocations: 23.38 kB / 363.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09767, allocations: 0 / 363.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Templates: time 0.005687/0.1034, allocations: 2.923 MB / 366.1 MB, free: 4.363 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)