Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004055/0.004061, allocations: 362.8 kB / 15.96 MB, free: 6.18 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.987/3.987, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006582/0.006581, allocations: 227.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5664/0.5664, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004419, allocations: 12 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09414, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5898/0.684, allocations: 163.7 MB / 0.84 GB, free: 8.555 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.7, allocations: 7.651 MB / 0.8475 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7013, allocations: 23.81 kB / 0.8475 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.7032, allocations: 246.5 kB / 0.8477 GB, free: 0.625 MB / 426.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.008821/0.712, allocations: 1.312 MB / 0.849 GB, free: 15.31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.7172, allocations: 0.8966 MB / 0.8499 GB, free: 14.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003947/0.7212, allocations: 2.23 MB / 0.8521 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009902/0.7223, allocations: 377.6 kB / 0.8524 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.7258, allocations: 1.008 MB / 0.8534 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.7276, allocations: 0.654 MB / 0.854 GB, free: 10.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.7279, allocations: 36 kB / 0.8541 GB, free: 10.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.7303, allocations: 0.5928 MB / 0.8547 GB, free: 9.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.7309, allocations: 231.3 kB / 0.8549 GB, free: 9.289 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.7313, allocations: 161.3 kB / 0.855 GB, free: 9.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.7337, allocations: 0.986 MB / 0.856 GB, free: 8.137 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.7338, allocations: 0 / 0.856 GB, free: 8.137 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7338, allocations: 3.938 kB / 0.856 GB, free: 8.133 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.7338, allocations: 0 / 0.856 GB, free: 8.133 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003445/0.7373, allocations: 0.9933 MB / 0.857 GB, free: 7.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.7373, allocations: 12.83 kB / 0.857 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7387, allocations: 132.9 kB / 0.8571 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.7401, allocations: 0.4927 MB / 0.8576 GB, free: 6.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.7403, allocations: 108.4 kB / 0.8577 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7405, allocations: 47.98 kB / 0.8577 GB, free: 6.254 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.7427, allocations: 0.8211 MB / 0.8585 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.7428, allocations: 0 / 0.8585 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.7429, allocations: 31.92 kB / 0.8586 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.825e-05/0.743, allocations: 40.97 kB / 0.8586 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.7449, allocations: 0.6204 MB / 0.8592 GB, free: 4.672 MB / 442.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.007526/0.7525, allocations: 3.942 MB / 0.8631 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.7534, allocations: 349.7 kB / 0.8634 GB, free: 140 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.7539, allocations: 169.3 kB / 0.8636 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006892/0.7546, allocations: 373.2 kB / 0.8639 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.7547, allocations: 38.84 kB / 0.8639 GB, free: 15.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.236e-06/0.7547, allocations: 0 / 0.8639 GB, free: 15.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.009611/0.7643, allocations: 1.642 MB / 0.8655 GB, free: 13.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.7645, allocations: 136.5 kB / 0.8657 GB, free: 13.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7656, allocations: 0.5898 MB / 0.8663 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-05/0.7657, allocations: 33.7 kB / 0.8663 GB, free: 13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.7662, allocations: 378.6 kB / 0.8666 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.7664, allocations: 149.9 kB / 0.8668 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.7665, allocations: 16 kB / 0.8668 GB, free: 12.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.7667, allocations: 374.7 kB / 0.8672 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.7674, allocations: 205.8 kB / 0.8674 GB, free: 11.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009545/0.7683, allocations: 0.5354 MB / 0.8679 GB, free: 11.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.7692, allocations: 291.8 kB / 0.8682 GB, free: 10.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.7692, allocations: 4 kB / 0.8682 GB, free: 10.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002647/0.7719, allocations: 0.8896 MB / 0.869 GB, free: 9.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.7719, allocations: 12 kB / 0.869 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.772, allocations: 8 kB / 0.8691 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.7744, allocations: 316.8 kB / 0.8694 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.7753, allocations: 127.8 kB / 0.8695 GB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.7772, allocations: 0.9109 MB / 0.8704 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.7783, allocations: 39.98 kB / 0.8704 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.7785, allocations: 76.05 kB / 0.8705 GB, free: 8.492 MB / 458.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.0005472/0.779, allocations: 245.5 kB / 0.8707 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7792, allocations: 68.03 kB / 0.8708 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.7817, allocations: 0.6752 MB / 0.8714 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.7817, allocations: 3.984 kB / 0.8714 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7818, allocations: 0 / 0.8714 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.7823, allocations: 188.2 kB / 0.8716 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.7825, allocations: 8 kB / 0.8716 GB, free: 7.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.7832, allocations: 31.92 kB / 0.8717 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7833, allocations: 31.95 kB / 0.8717 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002773/0.7861, allocations: 0.616 MB / 0.8723 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001897/0.788, allocations: 0.8025 MB / 0.8731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000493/0.7885, allocations: 183.8 kB / 0.8732 GB, free: 5.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008259/0.7894, allocations: 415 kB / 0.8736 GB, free: 5.172 MB / 458.7 MB Notification: Performance of Backend: time 1.032e-06/0.7894, allocations: 0 / 0.8736 GB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.7932, allocations: 0.8118 MB / 0.8744 GB, free: 4.367 MB / 458.7 MB Notification: Performance of SimCode: time 0.00511/0.7983, allocations: 2.112 MB / 0.8765 GB, free: 2.207 MB / 458.7 MB Notification: Performance of Templates: time 0.04976/0.8481, allocations: 17.29 MB / 0.8934 GB, free: 1.035 MB / 474.7 MB