Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,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.IdealSteam") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0027/0.002705, allocations: 362.2 kB / 15.96 MB, free: 6.191 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.886/3.886, allocations: 388.9 MB / 405.6 MB, free: 47.91 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.00541/0.00541, allocations: 232.7 kB / 451 MB, free: 2.379 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.9118/0.9118, allocations: 80.01 MB / 0.5627 GB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006396, allocations: 12 kB / 0.6265 GB, free: 4.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1233, allocations: 54.89 MB / 0.6801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5415/0.6648, allocations: 164.5 MB / 0.8408 GB, free: 4.586 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.6768, allocations: 5.487 MB / 0.8461 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.6779, allocations: 23.81 kB / 0.8462 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.6792, allocations: 254.5 kB / 0.8464 GB, free: 14.83 MB / 458.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.005894/0.6851, allocations: 1.39 MB / 0.8478 GB, free: 13.44 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.6898, allocations: 0.9844 MB / 0.8487 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.6938, allocations: 2.222 MB / 0.8509 GB, free: 10.25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000992/0.6948, allocations: 377.9 kB / 0.8513 GB, free: 9.883 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.6983, allocations: 1.004 MB / 0.8522 GB, free: 8.875 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.7003, allocations: 0.7263 MB / 0.8529 GB, free: 8.148 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.7005, allocations: 32 kB / 0.853 GB, free: 8.117 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.7029, allocations: 0.6084 MB / 0.8536 GB, free: 7.508 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005589/0.7035, allocations: 231.3 kB / 0.8538 GB, free: 7.281 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.7039, allocations: 169.3 kB / 0.854 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.7062, allocations: 0.9821 MB / 0.8549 GB, free: 6.125 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7063, allocations: 4 kB / 0.8549 GB, free: 6.121 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7063, allocations: 0 / 0.8549 GB, free: 6.121 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.7063, allocations: 0 / 0.8549 GB, free: 6.121 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003291/0.7096, allocations: 0.9822 MB / 0.8559 GB, free: 5.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7097, allocations: 8.031 kB / 0.8559 GB, free: 5.078 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.711, allocations: 135.1 kB / 0.856 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.7124, allocations: 0.5005 MB / 0.8565 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.7126, allocations: 100.4 kB / 0.8566 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.7128, allocations: 58.97 kB / 0.8567 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.715, allocations: 0.8058 MB / 0.8574 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.7151, allocations: 3.938 kB / 0.8574 GB, free: 3.359 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.7152, allocations: 24 kB / 0.8575 GB, free: 3.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.7153, allocations: 35.94 kB / 0.8575 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.7172, allocations: 0.626 MB / 0.8581 GB, free: 2.68 MB / 458.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.007404/0.7247, allocations: 3.942 MB / 0.862 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7257, allocations: 343.4 kB / 0.8623 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.7262, allocations: 177.3 kB / 0.8625 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.7269, allocations: 361.8 kB / 0.8628 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.727, allocations: 46.8 kB / 0.8628 GB, free: 13.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.586e-06/0.727, allocations: 0 / 0.8628 GB, free: 13.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.009876/0.7369, allocations: 1.646 MB / 0.8645 GB, free: 11.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.737, allocations: 132.5 kB / 0.8646 GB, free: 11.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.7383, allocations: 0.6015 MB / 0.8652 GB, free: 11.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.7384, allocations: 29.7 kB / 0.8652 GB, free: 11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.7388, allocations: 382.6 kB / 0.8656 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.7391, allocations: 141.9 kB / 0.8657 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.7391, allocations: 16 kB / 0.8657 GB, free: 10.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.7394, allocations: 374.8 kB / 0.8661 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/0.74, allocations: 197.9 kB / 0.8663 GB, free: 9.891 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.741, allocations: 0.5353 MB / 0.8668 GB, free: 9.195 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.7418, allocations: 303.9 kB / 0.8671 GB, free: 8.902 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.7419, allocations: 4 kB / 0.8671 GB, free: 8.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002513/0.7444, allocations: 0.8918 MB / 0.8679 GB, free: 7.996 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.7444, allocations: 16.03 kB / 0.868 GB, free: 7.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.7445, allocations: 12 kB / 0.868 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.7469, allocations: 308.5 kB / 0.8683 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.7477, allocations: 133.4 kB / 0.8684 GB, free: 7.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.7495, allocations: 0.8997 MB / 0.8693 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.7505, allocations: 43.92 kB / 0.8693 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.7506, allocations: 71.94 kB / 0.8694 GB, free: 6.496 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005423/0.7512, allocations: 252.8 kB / 0.8696 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.7514, allocations: 74.95 kB / 0.8697 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.7539, allocations: 0.6674 MB / 0.8703 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.7539, allocations: 7.984 kB / 0.8704 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.754, allocations: 2.562 kB / 0.8704 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.7545, allocations: 192.2 kB / 0.8705 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.7547, allocations: 8 kB / 0.8705 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.7553, allocations: 23.98 kB / 0.8706 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7554, allocations: 31.95 kB / 0.8706 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002837/0.7583, allocations: 0.616 MB / 0.8712 GB, free: 4.582 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001987/0.7603, allocations: 0.8025 MB / 0.872 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005003/0.7609, allocations: 175.9 kB / 0.8722 GB, free: 3.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008494/0.7617, allocations: 422.6 kB / 0.8726 GB, free: 3.184 MB / 474.7 MB Notification: Performance of Backend: time 6.92e-07/0.7617, allocations: 0 / 0.8726 GB, free: 3.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003972/0.7657, allocations: 0.811 MB / 0.8733 GB, free: 2.379 MB / 474.7 MB Notification: Performance of SimCode: time 0.00506/0.7708, allocations: 2.126 MB / 0.8754 GB, free: 236 kB / 474.7 MB Notification: Performance of Templates: time 0.3885/1.159, allocations: 17.27 MB / 0.8923 GB, free: 155.5 MB / 474.7 MB