Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002657/0.002657, allocations: 345.2 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.367/3.367, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003529/0.003529, allocations: 218.5 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4821/0.4821, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004762, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08811, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6006/0.6888, allocations: 191.7 MB / 0.794 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4448/1.134, allocations: 12.74 MB / 0.8064 GB, free: 4.996 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/1.136, allocations: 55.78 kB / 0.8065 GB, free: 4.992 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/1.139, allocations: 363.6 kB / 0.8068 GB, free: 4.992 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.01644/1.155, allocations: 2.724 MB / 0.8095 GB, free: 4.965 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01568/1.171, allocations: 2.605 MB / 0.812 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009626/1.181, allocations: 3.831 MB / 0.8158 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/1.183, allocations: 0.6313 MB / 0.8164 GB, free: 4.859 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/1.188, allocations: 1.055 MB / 0.8174 GB, free: 4.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005207/1.194, allocations: 1.28 MB / 0.8186 GB, free: 4.855 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007736/1.194, allocations: 54.88 kB / 0.8187 GB, free: 4.855 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.207, allocations: 2.818 MB / 0.8215 GB, free: 4.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.209, allocations: 365.2 kB / 0.8218 GB, free: 4.824 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008333/1.21, allocations: 247.1 kB / 0.822 GB, free: 4.793 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/1.217, allocations: 2.547 MB / 0.8245 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.217, allocations: 0 / 0.8245 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.217, allocations: 0 / 0.8245 GB, free: 4.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.017e-05/1.217, allocations: 0 / 0.8245 GB, free: 4.594 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006145/1.223, allocations: 1.722 MB / 0.8262 GB, free: 3.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.223, allocations: 13.02 kB / 0.8262 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/1.225, allocations: 214.9 kB / 0.8264 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.227, allocations: 0.7811 MB / 0.8272 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/1.227, allocations: 58.03 kB / 0.8272 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/1.228, allocations: 76.19 kB / 0.8273 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/1.231, allocations: 1.227 MB / 0.8285 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/1.231, allocations: 8.75 kB / 0.8285 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/1.231, allocations: 33.78 kB / 0.8286 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/1.231, allocations: 85.83 kB / 0.8286 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/1.235, allocations: 1.229 MB / 0.8298 GB, free: 3.07 MB / 426.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.01223/1.247, allocations: 4.802 MB / 0.8345 GB, free: 16.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/1.249, allocations: 0.7512 MB / 0.8353 GB, free: 16.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.25, allocations: 394.6 kB / 0.8356 GB, free: 16.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/1.252, allocations: 1.312 MB / 0.8369 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.252, allocations: 42.28 kB / 0.837 GB, free: 15.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 3.888e-06/1.252, allocations: 2.438 kB / 0.837 GB, free: 15.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=73): time 0.01368/1.266, allocations: 2.781 MB / 0.8397 GB, free: 15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.266, allocations: 222.1 kB / 0.8399 GB, free: 14.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/1.268, allocations: 0.8687 MB / 0.8407 GB, free: 14.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.268, allocations: 44.98 kB / 0.8408 GB, free: 14.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/1.268, allocations: 0.4979 MB / 0.8413 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/1.269, allocations: 254.4 kB / 0.8415 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/1.269, allocations: 25.12 kB / 0.8415 GB, free: 14.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/1.269, allocations: 343.6 kB / 0.8419 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/1.27, allocations: 419.9 kB / 0.8423 GB, free: 13.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/1.272, allocations: 0.7227 MB / 0.843 GB, free: 13.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.273, allocations: 0.5261 MB / 0.8435 GB, free: 13.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.273, allocations: 2.625 kB / 0.8435 GB, free: 13.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004215/1.277, allocations: 1.483 MB / 0.8449 GB, free: 12.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/1.278, allocations: 333.7 kB / 0.8452 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.278, allocations: 9.641 kB / 0.8453 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005688/1.283, allocations: 0.7265 MB / 0.846 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.285, allocations: 201.1 kB / 0.8462 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/1.287, allocations: 1.276 MB / 0.8474 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.289, allocations: 81.09 kB / 0.8475 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/1.29, allocations: 95.67 kB / 0.8476 GB, free: 11.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.29, allocations: 2.344 kB / 0.8476 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003623/1.293, allocations: 1.247 MB / 0.8488 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.293, allocations: 14.23 kB / 0.8488 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/1.296, allocations: 373.6 kB / 0.8492 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.298, allocations: 218 kB / 0.8494 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/1.299, allocations: 0.9768 MB / 0.8503 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.301, allocations: 69.84 kB / 0.8504 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.301, allocations: 96.39 kB / 0.8505 GB, free: 10.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (99): * Single equations (assignments): 98 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0009234/1.302, allocations: 371.7 kB / 0.8508 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/1.302, allocations: 108.9 kB / 0.8509 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/1.308, allocations: 1.369 MB / 0.8523 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.308, allocations: 7.016 kB / 0.8523 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.308, allocations: 4 kB / 0.8523 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/1.308, allocations: 182.5 kB / 0.8525 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/1.309, allocations: 14.19 kB / 0.8525 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.31, allocations: 52.89 kB / 0.8525 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/1.311, allocations: 66.84 kB / 0.8526 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003736/1.314, allocations: 1.005 MB / 0.8536 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004526/1.319, allocations: 1.602 MB / 0.8551 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001238/1.32, allocations: 407.5 kB / 0.8555 GB, free: 9.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001369/1.322, allocations: 0.5914 MB / 0.8561 GB, free: 8.887 MB / 442.7 MB Notification: Performance of Backend: time 1.563e-06/1.322, allocations: 1.859 kB / 0.8561 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.332, allocations: 2.456 MB / 0.8585 GB, free: 8.266 MB / 442.7 MB Notification: Performance of SimCode: time 0.007576/1.339, allocations: 2.791 MB / 0.8612 GB, free: 5.891 MB / 442.7 MB Notification: Performance of Templates: time 0.106/1.445, allocations: 39.53 MB / 0.8998 GB, free: 14.64 MB / 490.7 MB