Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002776/0.00278, allocations: 371.9 kB / 15.97 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.788/3.788, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.005234/0.005234, allocations: 235.8 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.5165/0.5165, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007516/0.000752, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1054, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.512/0.6175, allocations: 138.5 MB / 0.8154 GB, free: 1.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.6396, allocations: 9.788 MB / 0.8249 GB, free: 7.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.641, allocations: 43.62 kB / 0.825 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.6426, allocations: 322.1 kB / 0.8253 GB, free: 7.066 MB / 410.7 MB [/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. [/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.005413/0.648, allocations: 1.38 MB / 0.8266 GB, free: 5.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008849/0.6569, allocations: 2.105 MB / 0.8287 GB, free: 3.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.6627, allocations: 3.204 MB / 0.8318 GB, free: 384 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.6645, allocations: 0.6051 MB / 0.8324 GB, free: 15.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.6671, allocations: 0.8835 MB / 0.8333 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.6701, allocations: 1.094 MB / 0.8343 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.6706, allocations: 56 kB / 0.8344 GB, free: 13.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005679/0.6762, allocations: 1.786 MB / 0.8361 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008753/0.6772, allocations: 351 kB / 0.8365 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.6777, allocations: 217.2 kB / 0.8367 GB, free: 11.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.6822, allocations: 1.816 MB / 0.8385 GB, free: 9.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6822, allocations: 0 / 0.8385 GB, free: 9.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6822, allocations: 0 / 0.8385 GB, free: 9.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.6823, allocations: 3.938 kB / 0.8385 GB, free: 9.543 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005126/0.6874, allocations: 1.386 MB / 0.8398 GB, free: 8.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.6875, allocations: 12.81 kB / 0.8398 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.6882, allocations: 114.8 kB / 0.8399 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.6901, allocations: 0.6986 MB / 0.8406 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.6903, allocations: 117.5 kB / 0.8407 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.6905, allocations: 67.97 kB / 0.8408 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/0.6951, allocations: 1.196 MB / 0.842 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.6952, allocations: 3.938 kB / 0.842 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.6955, allocations: 35.94 kB / 0.842 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000268/0.6958, allocations: 77.94 kB / 0.8421 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.6997, allocations: 1.198 MB / 0.8432 GB, free: 4.516 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.01824/0.718, allocations: 4.961 MB / 0.8481 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.723, allocations: 0.6601 MB / 0.8487 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.7251, allocations: 403.3 kB / 0.8491 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.7364, allocations: 2.538 MB / 0.8516 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.7365, allocations: 35 kB / 0.8516 GB, free: 11.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 4.138e-06/0.7365, allocations: 0 / 0.8516 GB, free: 11.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.01517/0.7517, allocations: 2.917 MB / 0.8545 GB, free: 8.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.7518, allocations: 162.8 kB / 0.8546 GB, free: 8.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.7537, allocations: 0.8837 MB / 0.8555 GB, free: 7.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.754, allocations: 37.7 kB / 0.8555 GB, free: 7.207 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.7545, allocations: 490.5 kB / 0.856 GB, free: 6.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.755, allocations: 201.2 kB / 0.8562 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.7551, allocations: 20 kB / 0.8562 GB, free: 6.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.7554, allocations: 394.7 kB / 0.8566 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.7568, allocations: 433.7 kB / 0.857 GB, free: 5.688 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.7586, allocations: 0.7473 MB / 0.8577 GB, free: 4.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.7603, allocations: 0.5067 MB / 0.8582 GB, free: 4.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.7604, allocations: 4 kB / 0.8582 GB, free: 4.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004748/0.7651, allocations: 1.519 MB / 0.8597 GB, free: 2.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.7655, allocations: 377.2 kB / 0.8601 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.7656, allocations: 12 kB / 0.8601 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.7684, allocations: 0.5138 MB / 0.8606 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.77, allocations: 199.6 kB / 0.8608 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.7742, allocations: 2.912 MB / 0.8636 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.776, allocations: 60 kB / 0.8637 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.7762, allocations: 55.92 kB / 0.8637 GB, free: 14.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7762, allocations: 4 kB / 0.8637 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004133/0.7804, allocations: 1.319 MB / 0.865 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.7805, allocations: 12 kB / 0.865 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.7821, allocations: 334.6 kB / 0.8654 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.7846, allocations: 203.6 kB / 0.8655 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.79, allocations: 2.681 MB / 0.8682 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.7923, allocations: 56.22 kB / 0.8682 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.7926, allocations: 48 kB / 0.8683 GB, free: 9.426 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001471/0.7941, allocations: 382 kB / 0.8686 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/0.7946, allocations: 102.8 kB / 0.8687 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/0.7992, allocations: 1.318 MB / 0.87 GB, free: 7.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.7993, allocations: 3.984 kB / 0.87 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7993, allocations: 0 / 0.87 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.8001, allocations: 287.7 kB / 0.8703 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.8004, allocations: 12 kB / 0.8703 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8014, allocations: 35.97 kB / 0.8703 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.8017, allocations: 60.41 kB / 0.8704 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004476/0.8061, allocations: 1.165 MB / 0.8715 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003822/0.81, allocations: 1.467 MB / 0.873 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001102/0.8111, allocations: 396.2 kB / 0.8733 GB, free: 4.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.8124, allocations: 0.5966 MB / 0.8739 GB, free: 3.543 MB / 458.7 MB Notification: Performance of Backend: time 9.82e-07/0.8125, allocations: 0 / 0.8739 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008292/0.8208, allocations: 2.154 MB / 0.876 GB, free: 1.367 MB / 458.7 MB Notification: Performance of SimCode: time 0.006252/0.8271, allocations: 2.755 MB / 0.8787 GB, free: 14.55 MB / 474.7 MB Notification: Performance of Templates: time 0.0746/0.9017, allocations: 28 MB / 0.9061 GB, free: 2.668 MB / 490.7 MB