Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 178.3 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 1.425/1.425, 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.0007592/0.0007594, allocations: 85.55 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3406/0.3406, allocations: 43.56 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 16 kB / 432.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 58.85 MB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4545/0.6089, allocations: 138.1 MB / 0.6148 GB, free: 12.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.6103, allocations: 1.126 MB / 0.6159 GB, free: 11.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.6103, allocations: 0 / 0.6159 GB, free: 11.47 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.6106, allocations: 39.36 kB / 0.6159 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.6125, allocations: 0.7107 MB / 0.6166 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.6125, allocations: 0 / 0.6166 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.6126, allocations: 75.67 kB / 0.6167 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.6127, allocations: 3.984 kB / 0.6167 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.6127, allocations: 19.94 kB / 0.6167 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.6128, allocations: 27.91 kB / 0.6168 GB, free: 10.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.6128, allocations: 0 / 0.6168 GB, free: 10.61 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.6153, allocations: 1.723 MB / 0.6184 GB, free: 8.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.6153, allocations: 7.984 kB / 0.6184 GB, free: 8.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.6153, allocations: 41.62 kB / 0.6185 GB, free: 8.832 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.616, allocations: 0.5474 MB / 0.619 GB, free: 8.285 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.616, allocations: 0 / 0.619 GB, free: 8.285 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6161, allocations: 4 kB / 0.619 GB, free: 8.281 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.6161, allocations: 0 / 0.619 GB, free: 8.281 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005425/0.6166, allocations: 452.8 kB / 0.6195 GB, free: 7.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6167, allocations: 8.031 kB / 0.6195 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.6167, allocations: 6.969 kB / 0.6195 GB, free: 7.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.6168, allocations: 169.1 kB / 0.6196 GB, free: 7.578 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.6168, allocations: 3.938 kB / 0.6196 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6168, allocations: 8 kB / 0.6196 GB, free: 7.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6169, allocations: 73.61 kB / 0.6197 GB, free: 7.488 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.617, allocations: 0 / 0.6197 GB, free: 7.488 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.617, allocations: 7.828 kB / 0.6197 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.617, allocations: 4 kB / 0.6197 GB, free: 7.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.6171, allocations: 51.97 kB / 0.6198 GB, free: 7.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.6174, allocations: 292.7 kB / 0.62 GB, free: 7.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.6175, allocations: 34.64 kB / 0.6201 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.6176, allocations: 16.83 kB / 0.6201 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.6177, allocations: 89.09 kB / 0.6202 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.6177, allocations: 34.56 kB / 0.6202 GB, free: 6.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.6177, allocations: 0 / 0.6202 GB, free: 6.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.6179, allocations: 57.56 kB / 0.6203 GB, free: 6.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.6179, allocations: 51.41 kB / 0.6203 GB, free: 6.758 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.618, allocations: 101.9 kB / 0.6204 GB, free: 6.648 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.618, allocations: 29.7 kB / 0.6204 GB, free: 6.613 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.618, allocations: 103.9 kB / 0.6205 GB, free: 6.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.618, allocations: 3.906 kB / 0.6205 GB, free: 6.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.618, allocations: 4 kB / 0.6206 GB, free: 6.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.6181, allocations: 314.8 kB / 0.6209 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.6182, allocations: 7.984 kB / 0.6209 GB, free: 6.176 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.6182, allocations: 35.44 kB / 0.6209 GB, free: 6.129 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.6183, allocations: 43.36 kB / 0.6209 GB, free: 6.074 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6183, allocations: 0 / 0.6209 GB, free: 6.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.138e-05/0.6184, allocations: 61.62 kB / 0.621 GB, free: 6.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6184, allocations: 12.09 kB / 0.621 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6184, allocations: 7.922 kB / 0.621 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6184, allocations: 3.938 kB / 0.621 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.6185, allocations: 15.94 kB / 0.621 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6185, allocations: 0 / 0.621 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.6186, allocations: 11.84 kB / 0.621 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.6186, allocations: 4 kB / 0.621 GB, free: 5.953 MB / 442.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 (6): * Single equations (assignments): 6 * 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 6.779e-05/0.6186, allocations: 113.8 kB / 0.6212 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.6187, allocations: 0 / 0.6212 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.6188, allocations: 67.31 kB / 0.6212 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6188, allocations: 3.938 kB / 0.6212 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6188, allocations: 0 / 0.6212 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.6189, allocations: 77.11 kB / 0.6213 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.6189, allocations: 5.672 kB / 0.6213 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.6189, allocations: 4 kB / 0.6213 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.6189, allocations: 0 / 0.6213 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.305e-05/0.619, allocations: 129.4 kB / 0.6214 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001178/0.6192, allocations: 219.6 kB / 0.6216 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.047e-05/0.6192, allocations: 16.02 kB / 0.6217 GB, free: 5.281 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.707e-05/0.6192, allocations: 75.28 kB / 0.6217 GB, free: 5.207 MB / 442.7 MB Notification: Performance of Backend: time 2.8e-07/0.6192, allocations: 0 / 0.6217 GB, free: 5.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.6204, allocations: 421.8 kB / 0.6221 GB, free: 4.789 MB / 442.7 MB Notification: Performance of SimCode: time 0.0004188/0.6208, allocations: 0.6385 MB / 0.6228 GB, free: 4.105 MB / 442.7 MB Error: Internal error GetVarIndexListByMapping: No Element for T 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 (no alias) initial: 288.15 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for X 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: X[1] (no alias) initial: arrCref:X index:(2) [2] Error: Internal error GetVarIndexListByMapping: No Element for X 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: X[2] (no alias) initial: no arrCref index:(3) [2] 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:3: p (no alias) initial: 100000.0 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for s 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: s (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for u 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: u (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for T 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 (no alias) initial: 288.15 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for X 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: X[1] (no alias) initial: arrCref:X index:(2) [2] Error: Internal error GetVarIndexListByMapping: No Element for X 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: X[2] (no alias) initial: no arrCref index:(3) [2] 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:3: p (no alias) initial: 100000.0 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for X found! Error: Internal error GetVarIndexListByMapping: No Element for state.X found! Error: Internal error GetVarIndexListByMapping: No Element for T found! Error: Internal error GetVarIndexListByMapping: No Element for p found! Error: Internal error GetVarIndexListByMapping: No Element for s found! Error: Internal error GetVarIndexListByMapping: No Element for u found! Error: Internal error GetVarIndexListByMapping: No Element for state.T found! Error: Internal error GetVarIndexListByMapping: No Element for state.p found!