Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") 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.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 100 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3272/0.3272, allocations: 43.48 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001009, allocations: 55.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1126, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3748/0.4875, allocations: 150.7 MB / 0.6227 GB, free: 9.406 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.5018, allocations: 10.85 MB / 0.6333 GB, free: 340 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.5032, allocations: 39.69 kB / 0.6334 GB, free: 300 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5044, allocations: 362.2 kB / 0.6337 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.5078, allocations: 1.354 MB / 0.635 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.5149, allocations: 2.283 MB / 0.6373 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.5197, allocations: 3.921 MB / 0.6411 GB, free: 8.379 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.5215, allocations: 0.6593 MB / 0.6418 GB, free: 7.715 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.5241, allocations: 0.8991 MB / 0.6426 GB, free: 6.812 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.5267, allocations: 1.125 MB / 0.6437 GB, free: 5.684 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.5271, allocations: 56 kB / 0.6438 GB, free: 5.629 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.5319, allocations: 1.985 MB / 0.6457 GB, free: 3.641 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007705/0.5327, allocations: 362.9 kB / 0.6461 GB, free: 3.285 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.5341, allocations: 0.517 MB / 0.6466 GB, free: 2.766 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.5396, allocations: 2.544 MB / 0.6491 GB, free: 220 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5397, allocations: 4 kB / 0.6491 GB, free: 216 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5397, allocations: 0 / 0.6491 GB, free: 216 kB / 458.7 MB Notification: Performance of Transformations before backend: time 6.356e-05/0.5397, allocations: 0 / 0.6491 GB, free: 216 kB / 458.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.004783/0.5445, allocations: 1.581 MB / 0.6506 GB, free: 14.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.5446, allocations: 11.97 kB / 0.6506 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.5454, allocations: 114.8 kB / 0.6507 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.547, allocations: 0.7215 MB / 0.6514 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5472, allocations: 116.7 kB / 0.6515 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.5474, allocations: 63.97 kB / 0.6516 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.5496, allocations: 1.216 MB / 0.6528 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5497, allocations: 7.938 kB / 0.6528 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.5498, allocations: 27.98 kB / 0.6528 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.5499, allocations: 69.95 kB / 0.6529 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.552, allocations: 1.21 MB / 0.6541 GB, free: 10.94 MB / 474.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.008393/0.5604, allocations: 4.891 MB / 0.6588 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5616, allocations: 0.6888 MB / 0.6595 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.5623, allocations: 422.3 kB / 0.6599 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00335/0.5656, allocations: 2.442 MB / 0.6623 GB, free: 2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5657, allocations: 39 kB / 0.6623 GB, free: 1.953 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.5657, allocations: 0 / 0.6623 GB, free: 1.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.007027/0.5727, allocations: 3.022 MB / 0.6653 GB, free: 14.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.5728, allocations: 162.8 kB / 0.6655 GB, free: 14.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.5739, allocations: 0.9505 MB / 0.6664 GB, free: 13.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.574, allocations: 37.7 kB / 0.6664 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5743, allocations: 479 kB / 0.6669 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.5745, allocations: 201.2 kB / 0.6671 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.5748, allocations: 198.4 kB / 0.6673 GB, free: 12.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.575, allocations: 341.9 kB / 0.6676 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.5757, allocations: 468.6 kB / 0.668 GB, free: 11.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009105/0.5766, allocations: 0.709 MB / 0.6687 GB, free: 11.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.5781, allocations: 1.085 MB / 0.6698 GB, free: 9.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.5781, allocations: 4 kB / 0.6698 GB, free: 9.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002465/0.5806, allocations: 1.562 MB / 0.6713 GB, free: 8.352 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5806, allocations: 8 kB / 0.6713 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5807, allocations: 8.656 kB / 0.6713 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.5823, allocations: 0.5343 MB / 0.6718 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.583, allocations: 183.7 kB / 0.672 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.5856, allocations: 2.936 MB / 0.6749 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.5866, allocations: 63.95 kB / 0.6749 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5867, allocations: 51.92 kB / 0.675 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.5877, allocations: 0.6502 MB / 0.6756 GB, free: 3.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009024/0.5887, allocations: 0.6765 MB / 0.6763 GB, free: 2.945 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.5901, allocations: 1.05 MB / 0.6773 GB, free: 1.809 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/0.5901, allocations: 0 / 0.6773 GB, free: 1.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002726/0.5929, allocations: 1.519 MB / 0.6788 GB, free: 256 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5929, allocations: 8 kB / 0.6788 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5929, allocations: 8 kB / 0.6788 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.594, allocations: 422.4 kB / 0.6792 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.5947, allocations: 199.6 kB / 0.6794 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.5971, allocations: 2.838 MB / 0.6822 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5982, allocations: 55.88 kB / 0.6822 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.5983, allocations: 43.98 kB / 0.6823 GB, free: 12.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.5986, allocations: 248 kB / 0.6825 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.5989, allocations: 94.88 kB / 0.6826 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.6013, allocations: 1.399 MB / 0.684 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6013, allocations: 8 kB / 0.684 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6014, allocations: 0 / 0.684 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.6014, allocations: 7.984 kB / 0.684 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.6053, allocations: 2.334 MB / 0.6863 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6053, allocations: 0 / 0.6863 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.6058, allocations: 95.94 kB / 0.6864 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.6075, allocations: 0.5137 MB / 0.6869 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.6076, allocations: 20 kB / 0.6869 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.6103, allocations: 2.923 MB / 0.6897 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6103, allocations: 0 / 0.6897 GB, free: 4.531 MB / 0.4948 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4362/1.047, allocations: 28.73 MB / 0.7178 GB, free: 158.7 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.