Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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 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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001339/0.001339, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001208/0.001208, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2242, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002091/0.2264, allocations: 1.355 MB / 326.7 MB, free: 0.8008 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.235, allocations: 7.138 MB / 333.8 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.235, allocations: 0 / 333.8 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.2351, allocations: 3.938 kB / 333.8 MB, free: 11.07 MB / 270.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.001024/0.2361, allocations: 274.2 kB / 334.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2377, allocations: 0.691 MB / 334.8 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.2378, allocations: 57.56 kB / 334.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.2378, allocations: 4 kB / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2379, allocations: 39.84 kB / 334.9 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.2385, allocations: 359.3 kB / 335.2 MB, free: 10 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2386, allocations: 7.938 kB / 335.2 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.2396, allocations: 0.7058 MB / 335.9 MB, free: 9.289 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.2396, allocations: 11.92 kB / 335.9 MB, free: 9.277 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.2396, allocations: 15.94 kB / 336 MB, free: 9.262 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.2404, allocations: 0.5613 MB / 336.5 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2404, allocations: 0 / 336.5 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2405, allocations: 0 / 336.5 MB, free: 8.699 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2405, allocations: 0 / 336.5 MB, free: 8.699 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006106/0.2411, allocations: 467.2 kB / 337 MB, free: 8.195 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2411, allocations: 11.89 kB / 337 MB, free: 8.184 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.2412, allocations: 8.844 kB / 337 MB, free: 8.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2414, allocations: 188.2 kB / 337.2 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2414, allocations: 384 / 337.2 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.2415, allocations: 8.375 kB / 337.2 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.2416, allocations: 63.45 kB / 337.2 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2416, allocations: 8 kB / 337.3 MB, free: 7.863 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2416, allocations: 0 / 337.3 MB, free: 7.863 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2416, allocations: 0 / 337.3 MB, free: 7.863 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.2417, allocations: 19.98 kB / 337.3 MB, free: 7.844 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.2419, allocations: 170.6 kB / 337.4 MB, free: 7.625 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.2422, allocations: 85 kB / 337.5 MB, free: 7.523 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.2423, allocations: 29.77 kB / 337.5 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/0.2433, allocations: 1.536 MB / 339.1 MB, free: 5.602 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2433, allocations: 38.5 kB / 339.1 MB, free: 5.555 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2433, allocations: 0 / 339.1 MB, free: 5.555 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002866/0.2436, allocations: 85.59 kB / 339.2 MB, free: 5.465 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2436, allocations: 81.09 kB / 339.3 MB, free: 5.367 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.2437, allocations: 113.8 kB / 339.4 MB, free: 5.246 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2438, allocations: 29.64 kB / 339.4 MB, free: 5.211 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.2438, allocations: 80.14 kB / 339.5 MB, free: 5.129 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2438, allocations: 27.64 kB / 339.5 MB, free: 5.102 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.2439, allocations: 21.7 kB / 339.6 MB, free: 5.074 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.244, allocations: 318.8 kB / 339.9 MB, free: 4.754 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.2441, allocations: 15.98 kB / 339.9 MB, free: 4.738 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.2441, allocations: 35.73 kB / 339.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.2443, allocations: 63.72 kB / 340 MB, free: 4.617 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2443, allocations: 8 kB / 340 MB, free: 4.609 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001925/0.2445, allocations: 85.44 kB / 340.1 MB, free: 4.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2445, allocations: 8 kB / 340.1 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2445, allocations: 0 / 340.1 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2445, allocations: 0 / 340.1 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.2446, allocations: 19.94 kB / 340.1 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2446, allocations: 4.141 kB / 340.1 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.2447, allocations: 4 kB / 340.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.2447, allocations: 7.984 kB / 340.1 MB, free: 4.477 MB / 270.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.2448, allocations: 113.9 kB / 340.2 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2448, allocations: 11.84 kB / 340.2 MB, free: 4.344 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.2452, allocations: 121.5 kB / 340.4 MB, free: 4.223 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2452, allocations: 4 kB / 340.4 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2452, allocations: 0 / 340.4 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2452, allocations: 7.984 kB / 340.4 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2453, allocations: 165.7 kB / 340.5 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2453, allocations: 0 / 340.5 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.2454, allocations: 19.86 kB / 340.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2454, allocations: 4 kB / 340.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.2455, allocations: 0 / 340.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2455, allocations: 3.938 kB / 340.6 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2455, allocations: 0 / 340.6 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.2457, allocations: 149.8 kB / 340.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2458, allocations: 100.9 kB / 340.8 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2458, allocations: 0 / 340.8 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.2459, allocations: 4 kB / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.2459, allocations: 11.92 kB / 340.8 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.2459, allocations: 4 kB / 340.8 MB, free: 3.668 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.246, allocations: 91.27 kB / 340.9 MB, free: 3.578 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.246, allocations: 4.062 kB / 340.9 MB, free: 3.574 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00043/0.2464, allocations: 163.9 kB / 341.1 MB, free: 3.414 MB / 270.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 (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.0006895/0.2471, allocations: 370 kB / 341.4 MB, free: 3.047 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2473, allocations: 51.91 kB / 341.5 MB, free: 2.996 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2474, allocations: 4.125 kB / 341.5 MB, free: 2.992 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.2474, allocations: 31.86 kB / 341.5 MB, free: 2.961 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2476, allocations: 19.92 kB / 341.5 MB, free: 2.941 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.2481, allocations: 279.9 kB / 341.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2484, allocations: 0.6885 MB / 342.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.2485, allocations: 39.69 kB / 342.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.2485, allocations: 19.42 kB / 342.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of SimCode: time 1.472e-06/0.2485, allocations: 0 / 342.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of Templates: time 0.006833/0.2553, allocations: 3.726 MB / 346.3 MB, free: 14.13 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)