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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 114.8 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 198.1 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 73.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3786/0.4935, allocations: 152 MB / 0.637 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.5069, allocations: 10.39 MB / 0.6472 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.5078, allocations: 27.81 kB / 0.6472 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.509, allocations: 401.5 kB / 0.6476 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.5125, allocations: 1.45 MB / 0.649 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.5189, allocations: 2.701 MB / 0.6516 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.5223, allocations: 2.721 MB / 0.6543 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.5234, allocations: 0.7501 MB / 0.655 GB, free: 156 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.5255, allocations: 1.044 MB / 0.656 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.5271, allocations: 1.133 MB / 0.6571 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.5273, allocations: 108 kB / 0.6572 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.5309, allocations: 2.012 MB / 0.6592 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.5313, allocations: 418.9 kB / 0.6596 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.532, allocations: 0.5717 MB / 0.6602 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.5355, allocations: 2.607 MB / 0.6627 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5355, allocations: 0 / 0.6627 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5355, allocations: 0 / 0.6627 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5355, allocations: 0 / 0.6627 GB, free: 8.25 MB / 0.4981 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.003282/0.5388, allocations: 1.577 MB / 0.6642 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5388, allocations: 12.03 kB / 0.6643 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.5393, allocations: 119.9 kB / 0.6644 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5404, allocations: 0.7566 MB / 0.6651 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.5405, allocations: 116.7 kB / 0.6652 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5406, allocations: 67.98 kB / 0.6653 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.5425, allocations: 1.212 MB / 0.6665 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5426, allocations: 3.938 kB / 0.6665 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.5427, allocations: 31.97 kB / 0.6665 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.877e-05/0.5428, allocations: 73.95 kB / 0.6666 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.5446, allocations: 1.202 MB / 0.6677 GB, free: 2.941 MB / 0.4981 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.008274/0.5529, allocations: 4.886 MB / 0.6725 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5542, allocations: 0.6797 MB / 0.6732 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.5548, allocations: 426.3 kB / 0.6736 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003335/0.5582, allocations: 2.445 MB / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.5582, allocations: 46.98 kB / 0.676 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.5583, allocations: 4 kB / 0.676 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57): time 0.007473/0.5657, allocations: 3.018 MB / 0.679 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.5658, allocations: 158.8 kB / 0.6791 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.5671, allocations: 0.9544 MB / 0.6801 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.5672, allocations: 37.7 kB / 0.6801 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.5676, allocations: 467.1 kB / 0.6805 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.5678, allocations: 205.2 kB / 0.6807 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.5681, allocations: 194.5 kB / 0.6809 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5683, allocations: 349.9 kB / 0.6813 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.5691, allocations: 476.6 kB / 0.6817 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.5701, allocations: 0.7076 MB / 0.6824 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.5716, allocations: 1.081 MB / 0.6835 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5716, allocations: 4 kB / 0.6835 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002536/0.5742, allocations: 1.57 MB / 0.685 GB, free: 348 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5742, allocations: 8 kB / 0.685 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5742, allocations: 4 kB / 0.685 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.576, allocations: 0.5257 MB / 0.6855 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/0.5768, allocations: 187.7 kB / 0.6857 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.5796, allocations: 3.032 MB / 0.6887 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.5806, allocations: 43.97 kB / 0.6887 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5807, allocations: 43.98 kB / 0.6887 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/0.5817, allocations: 0.654 MB / 0.6894 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009216/0.5826, allocations: 0.6883 MB / 0.6901 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/0.5842, allocations: 1.046 MB / 0.6911 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.419e-06/0.5842, allocations: 0 / 0.6911 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002792/0.587, allocations: 1.519 MB / 0.6926 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.587, allocations: 11.94 kB / 0.6926 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.587, allocations: 8 kB / 0.6926 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.5881, allocations: 423.3 kB / 0.693 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.5889, allocations: 187.7 kB / 0.6932 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.5914, allocations: 2.934 MB / 0.696 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/0.5923, allocations: 48.12 kB / 0.6961 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.5924, allocations: 45.11 kB / 0.6961 GB, free: 4.32 MB / 0.5294 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.0003499/0.5927, allocations: 243.8 kB / 0.6963 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.593, allocations: 94.88 kB / 0.6964 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.5954, allocations: 1.396 MB / 0.6978 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5954, allocations: 0 / 0.6978 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5954, allocations: 0 / 0.6978 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5959, allocations: 275.8 kB / 0.6981 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.596, allocations: 23.84 kB / 0.6981 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.5966, allocations: 27.97 kB / 0.6981 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.5968, allocations: 52.48 kB / 0.6982 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002407/0.5992, allocations: 1.172 MB / 0.6993 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002095/0.6013, allocations: 1.518 MB / 0.7008 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005856/0.6019, allocations: 404.2 kB / 0.7012 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008885/0.6028, allocations: 0.6752 MB / 0.7018 GB, free: 14.33 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.6028, allocations: 0 / 0.7018 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005396/0.6082, allocations: 2.243 MB / 0.704 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 0.003695/0.6119, allocations: 2.525 MB / 0.7065 GB, free: 9.496 MB / 0.545 GB Notification: Performance of Templates: time 0.05592/0.6679, allocations: 34.19 MB / 0.7399 GB, free: 7.297 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)