Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 111.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 207.9 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 76.16 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3192, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1669/0.4861, allocations: 155 MB / 0.683 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.501, allocations: 10.43 MB / 0.6932 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5021, allocations: 31.75 kB / 0.6932 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.5036, allocations: 409.4 kB / 0.6936 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.5075, allocations: 1.477 MB / 0.695 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00664/0.5142, allocations: 2.71 MB / 0.6977 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.5176, allocations: 2.732 MB / 0.7004 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.5189, allocations: 0.7468 MB / 0.7011 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.5208, allocations: 1.051 MB / 0.7021 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.5228, allocations: 1.141 MB / 0.7032 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.5232, allocations: 108 kB / 0.7033 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.5278, allocations: 2.063 MB / 0.7053 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.5284, allocations: 418.9 kB / 0.7057 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.5295, allocations: 0.5717 MB / 0.7063 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.5344, allocations: 2.667 MB / 0.7089 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5344, allocations: 4 kB / 0.7089 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5344, allocations: 0 / 0.7089 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.151e-05/0.5345, allocations: 0 / 0.7089 GB, free: 11.62 MB / 0.5606 GB 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.004412/0.5389, allocations: 1.621 MB / 0.7105 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5389, allocations: 16.03 kB / 0.7105 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006162/0.5396, allocations: 123.3 kB / 0.7106 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.541, allocations: 0.7727 MB / 0.7114 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.5411, allocations: 116.7 kB / 0.7115 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5413, allocations: 63.98 kB / 0.7115 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.5434, allocations: 1.2 MB / 0.7127 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.5434, allocations: 3.938 kB / 0.7127 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5436, allocations: 31.98 kB / 0.7128 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.5437, allocations: 77.94 kB / 0.7128 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.5457, allocations: 1.206 MB / 0.714 GB, free: 6.246 MB / 0.5606 GB 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.008882/0.5546, allocations: 4.888 MB / 0.7188 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.556, allocations: 0.6802 MB / 0.7194 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2611/0.8171, allocations: 428.3 kB / 0.7199 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003914/0.8211, allocations: 2.439 MB / 0.7222 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.8212, allocations: 41.97 kB / 0.7223 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=52): time 2.996e-06/0.8212, allocations: 1.75 kB / 0.7223 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.007135/0.8283, allocations: 3.036 MB / 0.7252 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.8284, allocations: 161.7 kB / 0.7254 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.8295, allocations: 0.9567 MB / 0.7263 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.8296, allocations: 37.89 kB / 0.7264 GB, free: 179 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.8298, allocations: 493.6 kB / 0.7268 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.83, allocations: 212.1 kB / 0.727 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.8303, allocations: 200.2 kB / 0.7272 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.8304, allocations: 339.7 kB / 0.7276 GB, free: 178 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.8311, allocations: 469.6 kB / 0.728 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009545/0.832, allocations: 0.7131 MB / 0.7287 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.8336, allocations: 1.08 MB / 0.7298 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8336, allocations: 5.344 kB / 0.7298 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002383/0.836, allocations: 1.567 MB / 0.7313 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.836, allocations: 7.844 kB / 0.7313 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.836, allocations: 8.156 kB / 0.7313 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.8376, allocations: 0.5247 MB / 0.7318 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.8383, allocations: 181 kB / 0.732 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.8403, allocations: 3.046 MB / 0.735 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.8412, allocations: 37.36 kB / 0.735 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.8413, allocations: 46.33 kB / 0.735 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009434/0.8422, allocations: 0.6617 MB / 0.7357 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006925/0.8429, allocations: 0.6891 MB / 0.7364 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.8441, allocations: 1.049 MB / 0.7374 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.8441, allocations: 0 / 0.7374 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002213/0.8463, allocations: 1.526 MB / 0.7389 GB, free: 170 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.8463, allocations: 9 kB / 0.7389 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8464, allocations: 7.844 kB / 0.7389 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.8473, allocations: 420.8 kB / 0.7393 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.8479, allocations: 188.1 kB / 0.7395 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.8495, allocations: 2.934 MB / 0.7423 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.8503, allocations: 38.67 kB / 0.7424 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.8504, allocations: 45.64 kB / 0.7424 GB, free: 166.9 MB / 0.5606 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.0002754/0.8507, allocations: 249.1 kB / 0.7427 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.8509, allocations: 102.4 kB / 0.7428 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.8529, allocations: 1.393 MB / 0.7441 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.8529, allocations: 10.22 kB / 0.7441 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8529, allocations: 0 / 0.7441 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.8532, allocations: 284.3 kB / 0.7444 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.8533, allocations: 14.53 kB / 0.7444 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.8539, allocations: 27.98 kB / 0.7444 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.854, allocations: 52.48 kB / 0.7445 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002005/0.856, allocations: 1.173 MB / 0.7456 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001636/0.8577, allocations: 1.511 MB / 0.7471 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004628/0.8581, allocations: 404.2 kB / 0.7475 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006573/0.8588, allocations: 0.6752 MB / 0.7482 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of Backend: time 7.71e-07/0.8588, allocations: 0 / 0.7482 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004451/0.8633, allocations: 2.262 MB / 0.7504 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002941/0.8662, allocations: 2.549 MB / 0.7528 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.04155/0.9078, allocations: 33.53 MB / 0.7856 GB, free: 123.4 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)