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.001461/0.001461, allocations: 112.4 kB / 17.07 MB, free: 5.973 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.001687/0.001687, allocations: 194.8 kB / 18 MB, free: 5.059 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009734/0.0009734, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2359, allocations: 49.43 MB / 400.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002271/0.2382, allocations: 1.359 MB / 402.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.243, allocations: 3.988 MB / 406.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.2431, allocations: 0 / 406.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.2431, allocations: 3.984 kB / 406.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009265/0.244, allocations: 279 kB / 406.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2451, allocations: 0.4887 MB / 406.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.699e-05/0.2452, allocations: 59.7 kB / 406.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.2453, allocations: 8 kB / 406.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.2454, allocations: 39.86 kB / 406.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.246, allocations: 356.7 kB / 407.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.246, allocations: 0 / 407.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009372/0.247, allocations: 0.6021 MB / 407.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.247, allocations: 11.98 kB / 407.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.247, allocations: 19.88 kB / 407.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.2477, allocations: 451 kB / 408.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2477, allocations: 0 / 408.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.2477, allocations: 0 / 408.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2477, allocations: 3.938 kB / 408.4 MB, free: 1.359 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.0004987/0.2483, allocations: 434.3 kB / 408.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2483, allocations: 8.031 kB / 408.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.2483, allocations: 12.84 kB / 408.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2485, allocations: 188.3 kB / 409 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2485, allocations: 384 / 409 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2486, allocations: 11.84 kB / 409 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2487, allocations: 59.39 kB / 409.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2487, allocations: 0 / 409.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2488, allocations: 4 kB / 409.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2488, allocations: 3.938 kB / 409.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.2489, allocations: 23.92 kB / 409.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.249, allocations: 174.6 kB / 409.3 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.2493, allocations: 85.12 kB / 409.3 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.2494, allocations: 29.7 kB / 409.4 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009549/0.2503, allocations: 1.532 MB / 410.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2504, allocations: 38.5 kB / 410.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2504, allocations: 0 / 410.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000271/0.2507, allocations: 85.58 kB / 411 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.2507, allocations: 77.11 kB / 411.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.2508, allocations: 113.8 kB / 411.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2508, allocations: 25.7 kB / 411.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.2509, allocations: 84.14 kB / 411.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2509, allocations: 23.66 kB / 411.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.2509, allocations: 25.7 kB / 411.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.251, allocations: 310.8 kB / 411.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.2511, allocations: 15.98 kB / 411.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.2512, allocations: 47.36 kB / 411.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2513, allocations: 55.78 kB / 411.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2513, allocations: 0 / 411.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001897/0.2515, allocations: 97.41 kB / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2515, allocations: 6.5 kB / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2516, allocations: 0 / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2516, allocations: 4 kB / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.2516, allocations: 19.98 kB / 411.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2517, allocations: 480 / 411.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.2517, allocations: 4 kB / 411.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2517, allocations: 4 kB / 411.9 MB, free: 13.18 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 7.391e-05/0.2518, allocations: 117.7 kB / 412 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.2518, allocations: 11.94 kB / 412 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2521, allocations: 119.2 kB / 412.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2522, allocations: 7.984 kB / 412.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2522, allocations: 0 / 412.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2522, allocations: 0 / 412.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2523, allocations: 177.6 kB / 412.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2523, allocations: 0 / 412.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.2524, allocations: 19.94 kB / 412.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2524, allocations: 0 / 412.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2524, allocations: 0 / 412.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2524, allocations: 3.984 kB / 412.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2525, allocations: 7.938 kB / 412.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2527, allocations: 141.8 kB / 412.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.2528, allocations: 93.09 kB / 412.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.2528, allocations: 4 kB / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.2529, allocations: 4 kB / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2529, allocations: 7.984 kB / 412.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2529, allocations: 3.938 kB / 412.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.253, allocations: 91.27 kB / 412.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 412.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.2534, allocations: 131.9 kB / 412.8 MB, free: 12.15 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.000547/0.2539, allocations: 298 kB / 413.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.2541, allocations: 51.84 kB / 413.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2541, allocations: 0 / 413.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.2542, allocations: 31.97 kB / 413.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.2544, allocations: 11.94 kB / 413.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.2549, allocations: 298.7 kB / 413.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2551, allocations: 0.6807 MB / 414.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.2552, allocations: 39.72 kB / 414.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.2553, allocations: 19.42 kB / 414.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2553, allocations: 0 / 414.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Templates: time 0.005969/0.2612, allocations: 2.998 MB / 417.3 MB, free: 7.707 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)