Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002671/0.002671, allocations: 370.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.713/3.713, allocations: 388.9 MB / 405.6 MB, free: 47.95 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00351/0.00351, allocations: 232.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7735/0.7735, allocations: 80.01 MB / 0.5627 GB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006998/0.0007, allocations: 20 kB / 0.6265 GB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1355, allocations: 54.89 MB / 0.6801 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.4015/0.537, allocations: 36.42 MB / 0.7157 GB, free: 63.31 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04097/0.578, allocations: 18.84 MB / 0.7341 GB, free: 50 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.5795, allocations: 23.12 kB / 0.7341 GB, free: 49.99 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.581, allocations: 364.6 kB / 0.7345 GB, free: 49.8 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01728/0.5983, allocations: 4.095 MB / 0.7385 GB, free: 47.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008533/0.6069, allocations: 2.028 MB / 0.7404 GB, free: 46.87 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00436/0.6112, allocations: 2.34 MB / 0.7427 GB, free: 45.97 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.6124, allocations: 400.2 kB / 0.7431 GB, free: 45.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.6297, allocations: 6.372 MB / 0.7493 GB, free: 44.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02741/0.6572, allocations: 9.104 MB / 0.7582 GB, free: 40.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.6576, allocations: 32 kB / 0.7583 GB, free: 40.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02467/0.6823, allocations: 6.82 MB / 0.7649 GB, free: 33.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.683, allocations: 245.6 kB / 0.7652 GB, free: 33.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.6835, allocations: 189.3 kB / 0.7653 GB, free: 33.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.693, allocations: 3.372 MB / 0.7686 GB, free: 29.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6931, allocations: 0 / 0.7686 GB, free: 29.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6931, allocations: 0 / 0.7686 GB, free: 29.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.6931, allocations: 0 / 0.7686 GB, free: 29.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00652/0.6997, allocations: 1.465 MB / 0.7701 GB, free: 28.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.6997, allocations: 8.031 kB / 0.7701 GB, free: 28.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.7027, allocations: 226.8 kB / 0.7703 GB, free: 28.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.7043, allocations: 0.5354 MB / 0.7708 GB, free: 27.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.7044, allocations: 104.7 kB / 0.7709 GB, free: 27.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.7046, allocations: 56 kB / 0.771 GB, free: 27.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.7082, allocations: 1.071 MB / 0.772 GB, free: 26.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.7083, allocations: 7.938 kB / 0.772 GB, free: 26.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.7085, allocations: 32 kB / 0.772 GB, free: 26.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.7086, allocations: 40.98 kB / 0.7721 GB, free: 26.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.7121, allocations: 0.8154 MB / 0.7729 GB, free: 25.4 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.7229, allocations: 5.532 MB / 0.7783 GB, free: 19.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.7247, allocations: 0.5245 MB / 0.7788 GB, free: 18.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.7252, allocations: 203 kB / 0.779 GB, free: 18.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1988/0.924, allocations: 54.09 MB / 0.8318 GB, free: 6.207 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/0.9241, allocations: 42.25 kB / 0.8318 GB, free: 6.156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 6.943e-06/0.9242, allocations: 0 / 0.8318 GB, free: 6.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.01384/0.938, allocations: 2.109 MB / 0.8339 GB, free: 3.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.9382, allocations: 191.9 kB / 0.8341 GB, free: 3.758 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.9398, allocations: 0.6094 MB / 0.8347 GB, free: 3.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/0.94, allocations: 37.7 kB / 0.8347 GB, free: 3.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.9405, allocations: 410.8 kB / 0.8351 GB, free: 2.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.9408, allocations: 165.8 kB / 0.8353 GB, free: 2.527 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.9409, allocations: 20.06 kB / 0.8353 GB, free: 2.508 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002972/0.9412, allocations: 382.7 kB / 0.8357 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009524/0.9422, allocations: 225.9 kB / 0.8359 GB, free: 1.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.9436, allocations: 0.6167 MB / 0.8365 GB, free: 1.105 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.9449, allocations: 344.4 kB / 0.8368 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.945, allocations: 4 kB / 0.8368 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003473/0.9484, allocations: 0.908 MB / 0.8377 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.9485, allocations: 12 kB / 0.8377 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.9485, allocations: 12 kB / 0.8377 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007758/0.9563, allocations: 277.5 kB / 0.838 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.9595, allocations: 287.6 kB / 0.8383 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.9628, allocations: 2.033 MB / 0.8402 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.9642, allocations: 59.89 kB / 0.8403 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9643, allocations: 47.98 kB / 0.8403 GB, free: 12.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006079/0.9649, allocations: 276.6 kB / 0.8406 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.9652, allocations: 71.16 kB / 0.8407 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.9692, allocations: 2.02 MB / 0.8426 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.9693, allocations: 3.953 kB / 0.8426 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.9693, allocations: 0 / 0.8426 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.9699, allocations: 279.3 kB / 0.8429 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.9701, allocations: 12 kB / 0.8429 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.9709, allocations: 39.94 kB / 0.843 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.971, allocations: 28.41 kB / 0.843 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003659/0.9747, allocations: 1.381 MB / 0.8443 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003426/0.9782, allocations: 1.864 MB / 0.8462 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/0.9792, allocations: 0.4924 MB / 0.8466 GB, free: 6.457 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.9804, allocations: 0.5498 MB / 0.8472 GB, free: 5.914 MB / 458.7 MB Notification: Performance of Backend: time 2.876e-06/0.9804, allocations: 0 / 0.8472 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01233/0.9928, allocations: 1.995 MB / 0.8491 GB, free: 3.941 MB / 458.7 MB Notification: Performance of SimCode: time 0.00626/0.9991, allocations: 2.673 MB / 0.8517 GB, free: 1.242 MB / 458.7 MB Notification: Performance of Templates: time 0.4736/1.473, allocations: 48.49 MB / 0.8991 GB, free: 143.2 MB / 474.7 MB