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.00146/0.00146, allocations: 111.7 kB / 17.06 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.001553/0.001553, allocations: 200 kB / 18 MB, free: 5.078 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009741/0.0009741, allocations: 43.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2201, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002372/0.2225, allocations: 1.353 MB / 402.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.2276, allocations: 3.984 MB / 406.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.2276, allocations: 0 / 406.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.2277, allocations: 3.984 kB / 406.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009883/0.2287, allocations: 275 kB / 406.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2298, allocations: 497.3 kB / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.2299, allocations: 59.7 kB / 406.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.2299, allocations: 4 kB / 406.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2301, allocations: 39.86 kB / 406.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.2307, allocations: 360.7 kB / 407.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2308, allocations: 3.938 kB / 407.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/0.2317, allocations: 0.5927 MB / 407.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2317, allocations: 15.98 kB / 407.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.2318, allocations: 19.88 kB / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.2325, allocations: 446.9 kB / 408.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2325, allocations: 4 kB / 408.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2325, allocations: 3.938 kB / 408.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2325, allocations: 0 / 408.3 MB, free: 1.223 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004892/0.233, allocations: 431.2 kB / 408.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.233, allocations: 8.031 kB / 408.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.2331, allocations: 12.78 kB / 408.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2333, allocations: 184.4 kB / 409 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2333, allocations: 8.375 kB / 409 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2333, allocations: 15.83 kB / 409 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2335, allocations: 55.39 kB / 409 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2335, allocations: 4 kB / 409 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2335, allocations: 7.938 kB / 409.1 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2335, allocations: 0 / 409.1 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.2336, allocations: 19.92 kB / 409.1 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.2338, allocations: 178.6 kB / 409.2 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.234, allocations: 81.06 kB / 409.3 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.2341, allocations: 25.77 kB / 409.4 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009641/0.2351, allocations: 1.536 MB / 410.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2351, allocations: 42.55 kB / 410.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2351, allocations: 0 / 410.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002735/0.2354, allocations: 81.59 kB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2355, allocations: 77.11 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.2356, allocations: 113.8 kB / 411.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2356, allocations: 29.7 kB / 411.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.2356, allocations: 88.08 kB / 411.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.2357, allocations: 23.66 kB / 411.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2357, allocations: 21.7 kB / 411.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.2358, allocations: 314.8 kB / 411.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.2359, allocations: 15.98 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.236, allocations: 43.36 kB / 411.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2361, allocations: 51.42 kB / 411.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2361, allocations: 4 kB / 411.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001861/0.2363, allocations: 93.84 kB / 411.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2363, allocations: 8.062 kB / 411.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2363, allocations: 3.984 kB / 411.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2363, allocations: 4 kB / 411.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.2364, allocations: 15.98 kB / 411.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2364, allocations: 0 / 411.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.2365, allocations: 8 kB / 411.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2365, allocations: 0 / 411.9 MB, free: 13.04 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.865e-05/0.2366, allocations: 125.7 kB / 412 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.2366, allocations: 7.906 kB / 412 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.237, allocations: 121 kB / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.237, allocations: 4 kB / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.237, allocations: 0 / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.237, allocations: 0 / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2371, allocations: 177.6 kB / 412.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2371, allocations: 3.938 kB / 412.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.2372, allocations: 8 kB / 412.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2372, allocations: 8 kB / 412.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2372, allocations: 7.984 kB / 412.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2373, allocations: 0 / 412.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2373, allocations: 3.938 kB / 412.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.2375, allocations: 141.8 kB / 412.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.2376, allocations: 89.03 kB / 412.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2376, allocations: 4.062 kB / 412.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.2377, allocations: 8 kB / 412.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2377, allocations: 7.984 kB / 412.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2377, allocations: 0 / 412.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.2378, allocations: 91.27 kB / 412.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2378, allocations: 0 / 412.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.2382, allocations: 131.9 kB / 412.8 MB, free: 12.01 MB / 334.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.0005575/0.2387, allocations: 301.9 kB / 413.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.2389, allocations: 47.91 kB / 413.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2389, allocations: 0 / 413.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.239, allocations: 27.97 kB / 413.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2392, allocations: 25.62 kB / 413.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.2397, allocations: 286.8 kB / 413.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.2399, allocations: 0.6846 MB / 414.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.24, allocations: 39.72 kB / 414.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.24, allocations: 19.42 kB / 414.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.24, allocations: 4 kB / 414.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005948/0.246, allocations: 3.027 MB / 417.3 MB, free: 7.543 MB / 334.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)