Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,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.Nitrogen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004665/0.004669, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.943/3.943, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003598/0.003598, allocations: 223.6 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.5519/0.5519, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004437, allocations: 19.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09736, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6438/0.7413, allocations: 163.7 MB / 0.8399 GB, free: 8.668 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.7536, allocations: 5.495 MB / 0.8453 GB, free: 3.172 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.7548, allocations: 23.81 kB / 0.8453 GB, free: 3.148 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.756, allocations: 250.5 kB / 0.8456 GB, free: 2.902 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.00625/0.7623, allocations: 1.404 MB / 0.8469 GB, free: 1.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.7668, allocations: 0.9731 MB / 0.8479 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.7709, allocations: 2.23 MB / 0.8501 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.7721, allocations: 381 kB / 0.8504 GB, free: 13.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.7761, allocations: 1.015 MB / 0.8514 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.7785, allocations: 0.72 MB / 0.8521 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.7789, allocations: 35.98 kB / 0.8522 GB, free: 12.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.7815, allocations: 0.6045 MB / 0.8528 GB, free: 11.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.7822, allocations: 231.3 kB / 0.853 GB, free: 11.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.7827, allocations: 165.3 kB / 0.8531 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.7851, allocations: 0.9821 MB / 0.8541 GB, free: 10.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.7851, allocations: 0 / 0.8541 GB, free: 10.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7851, allocations: 3.938 kB / 0.8541 GB, free: 10.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.7852, allocations: 0 / 0.8541 GB, free: 10.16 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.003366/0.7885, allocations: 0.9855 MB / 0.8551 GB, free: 9.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.7886, allocations: 12.03 kB / 0.8551 GB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.79, allocations: 135 kB / 0.8552 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.7916, allocations: 0.4966 MB / 0.8557 GB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.7918, allocations: 101.1 kB / 0.8558 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.792, allocations: 51.98 kB / 0.8558 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.7942, allocations: 0.8097 MB / 0.8566 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.7943, allocations: 3.938 kB / 0.8566 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.7944, allocations: 31.97 kB / 0.8567 GB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.653e-05/0.7946, allocations: 36.98 kB / 0.8567 GB, free: 7.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.7965, allocations: 0.6205 MB / 0.8573 GB, free: 6.707 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.01072/0.8073, allocations: 3.941 MB / 0.8611 GB, free: 2.516 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.8088, allocations: 343.5 kB / 0.8615 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/0.8095, allocations: 177.4 kB / 0.8616 GB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009662/0.8105, allocations: 369.4 kB / 0.862 GB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/0.8106, allocations: 42.83 kB / 0.862 GB, free: 1.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 5.5e-06/0.8106, allocations: 0 / 0.862 GB, free: 1.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01431/0.8249, allocations: 1.635 MB / 0.8636 GB, free: 15.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8251, allocations: 140.5 kB / 0.8638 GB, free: 15.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.827, allocations: 0.5898 MB / 0.8643 GB, free: 15.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.8272, allocations: 37.7 kB / 0.8644 GB, free: 15.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/0.8279, allocations: 378.6 kB / 0.8647 GB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.8282, allocations: 141.9 kB / 0.8649 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.8283, allocations: 16 kB / 0.8649 GB, free: 14.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.8286, allocations: 374.8 kB / 0.8652 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.8297, allocations: 201.9 kB / 0.8654 GB, free: 13.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.8312, allocations: 0.5392 MB / 0.866 GB, free: 13.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.8326, allocations: 303.7 kB / 0.8663 GB, free: 12.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.8327, allocations: 7.938 kB / 0.8663 GB, free: 12.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004131/0.8368, allocations: 0.8857 MB / 0.8671 GB, free: 12.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.8369, allocations: 8 kB / 0.8671 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.837, allocations: 12 kB / 0.8671 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/0.8404, allocations: 315.7 kB / 0.8674 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8418, allocations: 135.7 kB / 0.8676 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.8445, allocations: 0.9005 MB / 0.8685 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.8461, allocations: 47.91 kB / 0.8685 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.8464, allocations: 72.05 kB / 0.8686 GB, free: 10.51 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.0008322/0.8473, allocations: 242.3 kB / 0.8688 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.8476, allocations: 71.16 kB / 0.8689 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.8514, allocations: 0.674 MB / 0.8695 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8515, allocations: 3.953 kB / 0.8695 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8515, allocations: 0 / 0.8695 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007428/0.8522, allocations: 184.3 kB / 0.8697 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.8526, allocations: 8 kB / 0.8697 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.8536, allocations: 27.97 kB / 0.8697 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.8538, allocations: 31.97 kB / 0.8698 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004295/0.8581, allocations: 0.6121 MB / 0.8704 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003009/0.8612, allocations: 0.8065 MB / 0.8712 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007978/0.8621, allocations: 175.8 kB / 0.8713 GB, free: 7.613 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.8633, allocations: 419 kB / 0.8717 GB, free: 7.207 MB / 458.7 MB Notification: Performance of Backend: time 1.683e-06/0.8634, allocations: 4 kB / 0.8717 GB, free: 7.203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005488/0.8689, allocations: 0.8148 MB / 0.8725 GB, free: 6.395 MB / 458.7 MB Notification: Performance of SimCode: time 0.00768/0.8766, allocations: 2.118 MB / 0.8746 GB, free: 4.23 MB / 458.7 MB Notification: Performance of Templates: time 0.07164/0.9483, allocations: 17.29 MB / 0.8915 GB, free: 3.047 MB / 474.7 MB