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.001188/0.001189, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.00121/0.00121, allocations: 192.5 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009818/0.0009819, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2562, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002906/0.2592, allocations: 1.357 MB / 402.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.2646, allocations: 3.976 MB / 406.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.2647, allocations: 0 / 406.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2648, allocations: 7.922 kB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.266, allocations: 287 kB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2673, allocations: 480.6 kB / 407.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2674, allocations: 67.7 kB / 407.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2674, allocations: 9.484 kB / 407.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2675, allocations: 39.84 kB / 407.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.2682, allocations: 359.2 kB / 408 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2682, allocations: 4 kB / 408 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2692, allocations: 0.5927 MB / 408.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2692, allocations: 7.984 kB / 408.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.2693, allocations: 23.86 kB / 408.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.27, allocations: 454.6 kB / 409 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.27, allocations: 0 / 409 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.27, allocations: 3.984 kB / 409 MB, free: 1.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.27, allocations: 0 / 409 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.000476/0.2705, allocations: 435.3 kB / 409.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2705, allocations: 8.031 kB / 409.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.2706, allocations: 8.844 kB / 409.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2708, allocations: 184.3 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2708, allocations: 4.312 kB / 409.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.2708, allocations: 15.84 kB / 409.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.271, allocations: 67.33 kB / 409.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.271, allocations: 0 / 409.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.271, allocations: 4 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.271, allocations: 0 / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.2711, allocations: 23.97 kB / 409.8 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.2713, allocations: 166.6 kB / 409.9 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.2716, allocations: 81.06 kB / 410 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.2716, allocations: 25.77 kB / 410 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/0.2725, allocations: 1.536 MB / 411.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2726, allocations: 38.55 kB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2726, allocations: 0 / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002887/0.2729, allocations: 81.59 kB / 411.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2729, allocations: 81.11 kB / 411.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.2731, allocations: 117.8 kB / 411.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2731, allocations: 25.7 kB / 411.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.2731, allocations: 80.14 kB / 412 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.2732, allocations: 27.64 kB / 412 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.2732, allocations: 17.72 kB / 412 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2733, allocations: 318.8 kB / 412.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.2734, allocations: 15.98 kB / 412.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.2734, allocations: 39.41 kB / 412.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2736, allocations: 63.72 kB / 412.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2736, allocations: 7.938 kB / 412.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000181/0.2738, allocations: 93.44 kB / 412.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2738, allocations: 4 kB / 412.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2738, allocations: 0 / 412.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2738, allocations: 4 kB / 412.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.2739, allocations: 19.92 kB / 412.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2739, allocations: 0 / 412.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.274, allocations: 4 kB / 412.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.274, allocations: 0 / 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 6.644e-05/0.2741, allocations: 125.8 kB / 412.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2741, allocations: 7.906 kB / 412.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.2744, allocations: 123.3 kB / 412.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.2744, allocations: 7.938 kB / 412.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2744, allocations: 0 / 412.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2744, allocations: 0 / 412.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.2746, allocations: 177.6 kB / 413 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2746, allocations: 3.938 kB / 413 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.2747, allocations: 8 kB / 413 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2747, allocations: 4 kB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2747, allocations: 3.984 kB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2747, allocations: 0 / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2747, allocations: 4 kB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.275, allocations: 141.8 kB / 413.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.275, allocations: 93.03 kB / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2751, allocations: 3.938 kB / 413.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.2751, allocations: 4 kB / 413.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.2752, allocations: 11.98 kB / 413.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2752, allocations: 0 / 413.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.2752, allocations: 91.81 kB / 413.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2752, allocations: 0 / 413.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.2757, allocations: 135.9 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.0006092/0.2763, allocations: 302.5 kB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2765, allocations: 51.89 kB / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2765, allocations: 0 / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.2766, allocations: 31.91 kB / 413.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2768, allocations: 21.94 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.0005171/0.2773, allocations: 312.4 kB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.2775, allocations: 0.6807 MB / 414.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.2776, allocations: 27.42 kB / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2776, allocations: 0 / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.004904/0.2825, allocations: 2.885 MB / 417.8 MB, free: 7.672 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)