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.001361/0.001361, allocations: 112.2 kB / 17.74 MB, free: 5.348 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.001443/0.001443, allocations: 187.1 kB / 18.67 MB, free: 4.426 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2765, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002332/0.2789, allocations: 1.359 MB / 402.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.2839, allocations: 3.976 MB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.2839, allocations: 0 / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.284, allocations: 0 / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.2851, allocations: 279 kB / 407 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2863, allocations: 497.4 kB / 407.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.2864, allocations: 55.73 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.2865, allocations: 8 kB / 407.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2866, allocations: 43.83 kB / 407.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.2872, allocations: 352.7 kB / 407.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2872, allocations: 11.94 kB / 408 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009973/0.2882, allocations: 0.5966 MB / 408.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.2883, allocations: 0 / 408.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.2883, allocations: 27.86 kB / 408.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006855/0.289, allocations: 446.9 kB / 409 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.289, allocations: 0 / 409 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.289, allocations: 3.938 kB / 409 MB, free: 1.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.289, allocations: 3.938 kB / 409 MB, free: 1.227 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.0005724/0.2896, allocations: 439.2 kB / 409.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2897, allocations: 8.031 kB / 409.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2897, allocations: 12.84 kB / 409.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.2899, allocations: 176.4 kB / 409.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.29, allocations: 8.375 kB / 409.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.29, allocations: 7.844 kB / 409.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2902, allocations: 63.39 kB / 409.7 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2902, allocations: 7.938 kB / 409.7 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2902, allocations: 3.938 kB / 409.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2902, allocations: 4 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.2903, allocations: 15.92 kB / 409.8 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.2905, allocations: 170.6 kB / 409.9 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2908, allocations: 93.05 kB / 410 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.2909, allocations: 25.77 kB / 410 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008866/0.2918, allocations: 1.54 MB / 411.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2918, allocations: 30.56 kB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2918, allocations: 4 kB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002888/0.2921, allocations: 81.59 kB / 411.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2922, allocations: 81.11 kB / 411.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.2923, allocations: 109.8 kB / 411.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2923, allocations: 29.7 kB / 411.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.2923, allocations: 88.12 kB / 412 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2924, allocations: 23.66 kB / 412 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2924, allocations: 21.7 kB / 412 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2925, allocations: 314.8 kB / 412.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.2926, allocations: 15.98 kB / 412.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.2927, allocations: 43.36 kB / 412.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2928, allocations: 55.36 kB / 412.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2928, allocations: 4 kB / 412.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001906/0.293, allocations: 89.45 kB / 412.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.293, allocations: 11.98 kB / 412.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.293, allocations: 0 / 412.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2931, allocations: 0 / 412.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.2931, allocations: 12 kB / 412.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2932, allocations: 4 kB / 412.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.2932, allocations: 3.984 kB / 412.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2932, allocations: 4 kB / 412.6 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 7.339e-05/0.2933, allocations: 129.7 kB / 412.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2933, allocations: 7.906 kB / 412.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.2937, allocations: 112 kB / 412.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2937, allocations: 0 / 412.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2937, allocations: 0 / 412.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2937, allocations: 8 kB / 412.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2939, allocations: 173.6 kB / 413 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2939, allocations: 11.92 kB / 413 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.294, allocations: 11.98 kB / 413 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.294, allocations: 4 kB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.294, allocations: 11.94 kB / 413 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.294, allocations: 0 / 413 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.294, allocations: 3.938 kB / 413 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.2943, allocations: 145.8 kB / 413.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.2944, allocations: 89.03 kB / 413.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2944, allocations: 4 kB / 413.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.2944, allocations: 0 / 413.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.2945, allocations: 7.984 kB / 413.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/0.2945, allocations: 4 kB / 413.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.2946, allocations: 91.27 kB / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.2946, allocations: 4.062 kB / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.295, allocations: 135.8 kB / 413.5 MB, free: 12 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.0005948/0.2956, allocations: 298.2 kB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.2958, allocations: 47.91 kB / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2958, allocations: 0 / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.2959, allocations: 23.98 kB / 413.9 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.0001998/0.2961, allocations: 28.52 kB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.2966, allocations: 308.4 kB / 414.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2969, allocations: 0.6885 MB / 414.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.2969, allocations: 27.36 kB / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2969, allocations: 0 / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005097/0.302, allocations: 2.885 MB / 417.8 MB, free: 7.676 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)