Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 199.5 kB / 18.05 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.749/1.749, allocations: 226.5 MB / 245.3 MB, free: 6.418 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008993/0.0008998, allocations: 97.14 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 8 kB / 357.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3821, allocations: 51.3 MB / 408.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001601/0.3838, allocations: 1.085 MB / 409.8 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.3883, allocations: 3.758 MB / 413.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.3884, allocations: 0 / 413.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3884, allocations: 3.938 kB / 413.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009935/0.3894, allocations: 243.2 kB / 413.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3904, allocations: 415.8 kB / 414.2 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.3905, allocations: 51.73 kB / 414.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.3906, allocations: 0 / 414.2 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3907, allocations: 35.84 kB / 414.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.3914, allocations: 391.5 kB / 414.6 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3915, allocations: 4 kB / 414.7 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.3923, allocations: 0.5224 MB / 415.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.3923, allocations: 8 kB / 415.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3924, allocations: 53.55 kB / 415.2 MB, free: 21.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.3928, allocations: 308.4 kB / 415.5 MB, free: 20.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3928, allocations: 4 kB / 415.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3928, allocations: 0 / 415.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3929, allocations: 0 / 415.5 MB, free: 20.79 MB / 298.7 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.0005769/0.3934, allocations: 431.2 kB / 416 MB, free: 20.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.3935, allocations: 8.031 kB / 416 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3936, allocations: 8.844 kB / 416 MB, free: 20.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3938, allocations: 184.3 kB / 416.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3938, allocations: 4.375 kB / 416.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3938, allocations: 15.83 kB / 416.2 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.394, allocations: 63.33 kB / 416.2 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.394, allocations: 0 / 416.2 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3941, allocations: 0 / 416.2 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3941, allocations: 4 kB / 416.2 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.3942, allocations: 19.97 kB / 416.3 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3944, allocations: 178.6 kB / 416.4 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3947, allocations: 85.11 kB / 416.5 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.3948, allocations: 25.77 kB / 416.5 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007915/0.3956, allocations: 1.536 MB / 418.1 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3956, allocations: 42.5 kB / 418.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/0.3956, allocations: 3.938 kB / 418.1 MB, free: 17.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002864/0.3959, allocations: 81.59 kB / 418.2 MB, free: 17.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3959, allocations: 81.05 kB / 418.3 MB, free: 17.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.396, allocations: 109.8 kB / 418.4 MB, free: 17.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3961, allocations: 25.7 kB / 418.4 MB, free: 17.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.3961, allocations: 92.14 kB / 418.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3962, allocations: 23.64 kB / 418.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.3962, allocations: 0 / 418.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.3962, allocations: 314.8 kB / 418.8 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.3963, allocations: 15.98 kB / 418.9 MB, free: 16.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.3964, allocations: 35.42 kB / 418.9 MB, free: 16.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3965, allocations: 59.36 kB / 418.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3965, allocations: 0 / 418.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001819/0.3967, allocations: 85.83 kB / 419 MB, free: 16.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3967, allocations: 11.98 kB / 419 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3967, allocations: 96 / 419 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3967, allocations: 3.984 kB / 419 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.3968, allocations: 24 kB / 419.1 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3968, allocations: 4 kB / 419.1 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.3969, allocations: 3.984 kB / 419.1 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3969, allocations: 4 kB / 419.1 MB, free: 16.63 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.397, allocations: 113.8 kB / 419.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.397, allocations: 7.844 kB / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.3973, allocations: 124.5 kB / 419.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3974, allocations: 0 / 419.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3974, allocations: 0 / 419.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3974, allocations: 96.98 kB / 419.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3974, allocations: 3.938 kB / 419.4 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.3975, allocations: 4 kB / 419.4 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3975, allocations: 15.92 kB / 419.4 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003689/0.3979, allocations: 260.2 kB / 419.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003005/0.3982, allocations: 361.9 kB / 420 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.158e-05/0.3983, allocations: 28.08 kB / 420.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.3984, allocations: 91.81 kB / 420.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of Backend: time 2.9e-07/0.3984, allocations: 0 / 420.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3995, allocations: 336.7 kB / 420.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007443/0.4002, allocations: 0.812 MB / 421.3 MB, free: 14.3 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for h1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: h1 (no alias) initial: -105128.3414337788 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for s1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: s1 (no alias) initial: s_min no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: $DER.h1 (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: $DER.s1 (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for Th found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: Th (no alias) initial: 288.15 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for Ts found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: Ts (no alias) initial: 288.15 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for h2 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: h2 (no alias) initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for s2 found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: s2 (no alias) initial: no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for T_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: T_max (no alias) initial: 373.15 no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for T_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: T_min (no alias) initial: 243.15 no arrCref index:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for h_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: h_max (no alias) initial: 372336.2861385947 no arrCref index:(11) [] Error: Internal error GetVarIndexListByMapping: No Element for h_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: h_min (no alias) initial: -105128.3414337788 no arrCref index:(12) [] Error: Internal error GetVarIndexListByMapping: No Element for p found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:4: p (no alias) initial: 100000.0 no arrCref index:(13) [] Error: Internal error GetVarIndexListByMapping: No Element for s_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:5: s_max (no alias) initial: no arrCref index:(14) [] Error: Internal error GetVarIndexListByMapping: No Element for s_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:6: s_min (no alias) initial: no arrCref index:(15) [] Error: Internal error GetVarIndexListByMapping: No Element for h1 found! Error: Internal error GetVarIndexListByMapping: No Element for s1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.h1 found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.s1 found! Error: Internal error GetVarIndexListByMapping: No Element for Th found! Error: Internal error GetVarIndexListByMapping: No Element for Ts found! Error: Internal error GetVarIndexListByMapping: No Element for h2 found! Error: Internal error GetVarIndexListByMapping: No Element for s2 found! Error: Internal error GetVarIndexListByMapping: No Element for T_max found! Error: Internal error GetVarIndexListByMapping: No Element for T_min found! Error: Internal error GetVarIndexListByMapping: No Element for h_max found! Error: Internal error GetVarIndexListByMapping: No Element for h_min found! Error: Internal error GetVarIndexListByMapping: No Element for p found! Error: Internal error GetVarIndexListByMapping: No Element for s_max found! Error: Internal error GetVarIndexListByMapping: No Element for s_min found!