Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 118.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2109, allocations: 50.56 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002077/0.213, allocations: 1.363 MB / 411.3 MB, free: 208 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.2176, allocations: 4.027 MB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.2177, allocations: 4 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.2177, allocations: 7.922 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008286/0.2185, allocations: 279 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.2195, allocations: 0.4979 MB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.2196, allocations: 59.64 kB / 416.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.2196, allocations: 4 kB / 416.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.2197, allocations: 39.84 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006017/0.2203, allocations: 359 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2203, allocations: 4 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008755/0.2212, allocations: 0.6005 MB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2212, allocations: 7.984 kB / 417.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.2213, allocations: 19.88 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.2219, allocations: 452.5 kB / 417.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2219, allocations: 0 / 417.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2219, allocations: 0 / 417.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2219, allocations: 4 kB / 417.6 MB, free: 9.844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004689/0.2224, allocations: 447.2 kB / 418.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2224, allocations: 11.97 kB / 418.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2225, allocations: 4.844 kB / 418.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2227, allocations: 184.3 kB / 418.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2227, allocations: 4.375 kB / 418.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2227, allocations: 3.938 kB / 418.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2229, allocations: 71.33 kB / 418.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2229, allocations: 0 / 418.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2229, allocations: 0 / 418.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2229, allocations: 3.984 kB / 418.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.223, allocations: 23.92 kB / 418.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2232, allocations: 170.6 kB / 418.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2234, allocations: 85.06 kB / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.2235, allocations: 25.77 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000875/0.2244, allocations: 1.536 MB / 420.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2244, allocations: 30.56 kB / 420.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.2244, allocations: 4 kB / 420.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002659/0.2247, allocations: 81.59 kB / 420.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2247, allocations: 77.11 kB / 420.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.2248, allocations: 121.8 kB / 420.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2248, allocations: 25.7 kB / 420.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.2249, allocations: 88.12 kB / 420.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2249, allocations: 19.66 kB / 420.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.225, allocations: 25.7 kB / 420.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.2251, allocations: 318.8 kB / 421 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.2251, allocations: 11.98 kB / 421 MB, free: 5.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.2252, allocations: 43.36 kB / 421 MB, free: 5.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2253, allocations: 59.42 kB / 421.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2253, allocations: 0 / 421.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00019/0.2255, allocations: 89.39 kB / 421.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2256, allocations: 4 kB / 421.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2256, allocations: 4 kB / 421.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2256, allocations: 3.984 kB / 421.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.2257, allocations: 12.47 kB / 421.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2257, allocations: 7.938 kB / 421.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.2257, allocations: 12.05 kB / 421.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2257, allocations: 4 kB / 421.2 MB, free: 5.648 MB / 334.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.491e-05/0.2258, allocations: 125.7 kB / 421.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.2258, allocations: 7.844 kB / 421.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.2262, allocations: 121.1 kB / 421.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2262, allocations: 4 kB / 421.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2262, allocations: 0 / 421.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2262, allocations: 93 kB / 421.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2263, allocations: 0 / 421.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.2263, allocations: 7.984 kB / 421.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.2264, allocations: 7.938 kB / 421.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004035/0.2268, allocations: 260.1 kB / 421.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003421/0.2271, allocations: 369.9 kB / 422.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.324e-05/0.2272, allocations: 23.98 kB / 422.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.2272, allocations: 91.27 kB / 422.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.2273, allocations: 0 / 422.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.2282, allocations: 325.3 kB / 422.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006181/0.2289, allocations: 0.7292 MB / 423.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of Templates: time 0.006303/0.2352, allocations: 3.503 MB / 426.8 MB, free: 15.92 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)