Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002072/0.002073, allocations: 178.5 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.627/2.627, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 91.03 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004815, allocations: 12 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.458, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002236/0.4603, allocations: 1.065 MB / 376.8 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.4717, allocations: 6.629 MB / 383.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.4719, allocations: 1.219 kB / 383.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.4719, allocations: 3.984 kB / 383.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4735, allocations: 240.2 kB / 383.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4756, allocations: 0.569 MB / 384.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4757, allocations: 62.45 kB / 384.3 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.709e-05/0.4758, allocations: 2.062 kB / 384.3 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.476, allocations: 36.06 kB / 384.4 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.4772, allocations: 387.2 kB / 384.7 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4772, allocations: 0.9688 kB / 384.7 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.4789, allocations: 0.6871 MB / 385.4 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.4789, allocations: 6.109 kB / 385.4 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.479, allocations: 46.95 kB / 385.5 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009016/0.4799, allocations: 388.6 kB / 385.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.4799, allocations: 1.031 kB / 385.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4799, allocations: 0 / 385.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.48, allocations: 0 / 385.8 MB, free: 37.98 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.000813/0.4808, allocations: 451.2 kB / 386.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.432e-05/0.4809, allocations: 8.875 kB / 386.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.4809, allocations: 12.03 kB / 386.3 MB, free: 37.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4812, allocations: 190.9 kB / 386.5 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4813, allocations: 6.312 kB / 386.5 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4813, allocations: 2.719 kB / 386.5 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4815, allocations: 66.52 kB / 386.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4815, allocations: 0 / 386.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4816, allocations: 0 / 386.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4816, allocations: 5.469 kB / 386.6 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/0.4817, allocations: 18.33 kB / 386.6 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.4819, allocations: 175.9 kB / 386.8 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.4823, allocations: 78.34 kB / 386.8 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.4824, allocations: 25.55 kB / 386.9 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.4836, allocations: 1.537 MB / 388.4 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4837, allocations: 39.59 kB / 388.4 MB, free: 35.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.4837, allocations: 0 / 388.4 MB, free: 35.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003597/0.4841, allocations: 80.23 kB / 388.5 MB, free: 34.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4841, allocations: 86.58 kB / 388.6 MB, free: 34.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4843, allocations: 112 kB / 388.7 MB, free: 34.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4843, allocations: 27.11 kB / 388.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.4843, allocations: 89.58 kB / 388.8 MB, free: 34.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.4844, allocations: 18.69 kB / 388.8 MB, free: 34.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4844, allocations: 0 / 388.8 MB, free: 34.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4845, allocations: 316.1 kB / 389.2 MB, free: 34.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.4846, allocations: 19.28 kB / 389.2 MB, free: 34.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.4847, allocations: 41.64 kB / 389.2 MB, free: 34.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4849, allocations: 60.53 kB / 389.3 MB, free: 34.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4849, allocations: 0 / 389.3 MB, free: 34.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002064/0.4851, allocations: 84.23 kB / 389.4 MB, free: 34.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4851, allocations: 10.25 kB / 389.4 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4851, allocations: 4.5 kB / 389.4 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.4852, allocations: 1.562 kB / 389.4 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.4853, allocations: 20.3 kB / 389.4 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4853, allocations: 5.844 kB / 389.4 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.4853, allocations: 7.062 kB / 389.4 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.4854, allocations: 6.078 kB / 389.4 MB, free: 34.14 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 9.949e-05/0.4855, allocations: 112.8 kB / 389.5 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4855, allocations: 15.34 kB / 389.5 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.486, allocations: 118.5 kB / 389.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.486, allocations: 0 / 389.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.486, allocations: 1.062 kB / 389.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4861, allocations: 92.27 kB / 389.7 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4861, allocations: 1.938 kB / 389.7 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.4862, allocations: 9.156 kB / 389.8 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.4862, allocations: 14.95 kB / 389.8 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004619/0.4867, allocations: 255.6 kB / 390 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004385/0.4872, allocations: 364.3 kB / 390.4 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.694e-05/0.4873, allocations: 27.97 kB / 390.4 MB, free: 33.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.4873, allocations: 87.25 kB / 390.5 MB, free: 33.17 MB / 298.7 MB Notification: Performance of Backend: time 4.11e-07/0.4873, allocations: 0 / 390.5 MB, free: 33.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.4893, allocations: 412.4 kB / 390.9 MB, free: 32.89 MB / 298.7 MB Notification: Performance of SimCode: time 0.0009173/0.4902, allocations: 0.8122 MB / 391.7 MB, free: 32.02 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!