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: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001128, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3054, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1587/0.4642, allocations: 155 MB / 0.683 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.4775, allocations: 10.42 MB / 0.6932 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.4783, allocations: 31.81 kB / 0.6932 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4796, allocations: 409.4 kB / 0.6936 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.4829, allocations: 1.458 MB / 0.695 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005873/0.4888, allocations: 2.711 MB / 0.6977 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.4919, allocations: 2.717 MB / 0.7003 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.4929, allocations: 0.7429 MB / 0.701 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.4947, allocations: 1.059 MB / 0.7021 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.4964, allocations: 1.149 MB / 0.7032 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.4967, allocations: 108 kB / 0.7033 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.5001, allocations: 2.043 MB / 0.7053 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.5006, allocations: 414.9 kB / 0.7057 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007591/0.5013, allocations: 0.5717 MB / 0.7063 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.5048, allocations: 2.618 MB / 0.7088 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5048, allocations: 0 / 0.7088 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5048, allocations: 0 / 0.7088 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.389e-05/0.5048, allocations: 7.938 kB / 0.7088 GB, free: 11.68 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.003508/0.5083, allocations: 1.581 MB / 0.7104 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.5084, allocations: 8.031 kB / 0.7104 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.5088, allocations: 114.8 kB / 0.7105 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5099, allocations: 0.7682 MB / 0.7112 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.51, allocations: 116.7 kB / 0.7113 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.5102, allocations: 59.98 kB / 0.7114 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.512, allocations: 1.204 MB / 0.7126 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.512, allocations: 11.84 kB / 0.7126 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.5121, allocations: 31.97 kB / 0.7126 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.922e-05/0.5122, allocations: 69.95 kB / 0.7127 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.5141, allocations: 1.21 MB / 0.7139 GB, free: 6.363 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.00764/0.5217, allocations: 4.887 MB / 0.7186 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.523, allocations: 0.6863 MB / 0.7193 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.5236, allocations: 422.3 kB / 0.7197 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2616/0.7852, allocations: 2.429 MB / 0.7221 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.7852, allocations: 41.91 kB / 0.7221 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/0.7853, allocations: 0 / 0.7221 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.007174/0.7924, allocations: 3.023 MB / 0.7251 GB, free: 180 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.7925, allocations: 160.3 kB / 0.7252 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.7938, allocations: 0.9561 MB / 0.7262 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.7939, allocations: 44.52 kB / 0.7262 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.7941, allocations: 468 kB / 0.7266 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7943, allocations: 208.3 kB / 0.7268 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.7946, allocations: 199.4 kB / 0.727 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.7947, allocations: 340.7 kB / 0.7274 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.7954, allocations: 472.7 kB / 0.7278 GB, free: 178 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/0.7962, allocations: 0.7112 MB / 0.7285 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.7976, allocations: 1.084 MB / 0.7296 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7976, allocations: 1.5 kB / 0.7296 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002358/0.8, allocations: 1.561 MB / 0.7311 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8, allocations: 12.67 kB / 0.7311 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8, allocations: 8.375 kB / 0.7311 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.8016, allocations: 0.5293 MB / 0.7316 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.8024, allocations: 187.5 kB / 0.7318 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.8044, allocations: 3.041 MB / 0.7348 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.8052, allocations: 38.22 kB / 0.7348 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8053, allocations: 46.39 kB / 0.7349 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009057/0.8063, allocations: 0.66 MB / 0.7355 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006955/0.807, allocations: 0.6845 MB / 0.7362 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001171/0.8081, allocations: 1.045 MB / 0.7372 GB, free: 171 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.8082, allocations: 3.969 kB / 0.7372 GB, free: 171 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002251/0.8104, allocations: 1.524 MB / 0.7387 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.8104, allocations: 10.33 kB / 0.7387 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8105, allocations: 7.719 kB / 0.7387 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008988/0.8114, allocations: 417.4 kB / 0.7391 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.8121, allocations: 185.1 kB / 0.7393 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.814, allocations: 2.939 MB / 0.7421 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/0.8148, allocations: 44.88 kB / 0.7422 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.8149, allocations: 44.77 kB / 0.7422 GB, free: 167.1 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.0002332/0.8151, allocations: 246 kB / 0.7425 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.8153, allocations: 93.34 kB / 0.7426 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.8173, allocations: 1.404 MB / 0.7439 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.8173, allocations: 3.984 kB / 0.7439 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8173, allocations: 3.938 kB / 0.7439 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.8176, allocations: 275.8 kB / 0.7442 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.8178, allocations: 12 kB / 0.7442 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.8184, allocations: 27.98 kB / 0.7442 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.8185, allocations: 48.48 kB / 0.7443 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002132/0.8207, allocations: 1.176 MB / 0.7454 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001699/0.8224, allocations: 1.503 MB / 0.7469 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004683/0.8229, allocations: 412.2 kB / 0.7473 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006419/0.8235, allocations: 0.6646 MB / 0.7479 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/0.8235, allocations: 0 / 0.7479 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004428/0.828, allocations: 2.265 MB / 0.7501 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002905/0.8309, allocations: 2.515 MB / 0.7526 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.04023/0.8711, allocations: 34.19 MB / 0.786 GB, free: 122.8 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)