Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001216/0.001216, allocations: 109.4 kB / 18.45 MB, free: 4.598 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.001233/0.001233, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.88 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3215, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1622/0.4838, allocations: 152 MB / 0.668 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4974, allocations: 10.41 MB / 0.6782 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.4984, allocations: 27.81 kB / 0.6782 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.4997, allocations: 417.3 kB / 0.6786 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.5035, allocations: 1.47 MB / 0.68 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006438/0.5099, allocations: 2.715 MB / 0.6827 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.5135, allocations: 2.717 MB / 0.6853 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.5147, allocations: 0.7507 MB / 0.6861 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.5169, allocations: 1.055 MB / 0.6871 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.519, allocations: 1.125 MB / 0.6882 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.5193, allocations: 104 kB / 0.6883 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.5231, allocations: 2.032 MB / 0.6903 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.5237, allocations: 410.9 kB / 0.6907 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009339/0.5247, allocations: 0.5717 MB / 0.6912 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.5289, allocations: 2.617 MB / 0.6938 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5289, allocations: 0 / 0.6938 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5289, allocations: 0 / 0.6938 GB, free: 9.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.844e-05/0.529, allocations: 0 / 0.6938 GB, free: 9.023 MB / 0.545 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.003904/0.5329, allocations: 1.629 MB / 0.6954 GB, free: 7.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5329, allocations: 8.031 kB / 0.6954 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.5334, allocations: 119.3 kB / 0.6955 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.5347, allocations: 0.7689 MB / 0.6963 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5348, allocations: 120.7 kB / 0.6964 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.535, allocations: 67.98 kB / 0.6964 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.5369, allocations: 1.204 MB / 0.6976 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.537, allocations: 3.938 kB / 0.6976 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.5371, allocations: 31.98 kB / 0.6977 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.5372, allocations: 77.89 kB / 0.6977 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.5392, allocations: 1.202 MB / 0.6989 GB, free: 3.652 MB / 0.545 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.008493/0.5477, allocations: 4.906 MB / 0.7037 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.549, allocations: 0.6763 MB / 0.7044 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.5497, allocations: 430.3 kB / 0.7048 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003385/0.5531, allocations: 2.446 MB / 0.7072 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5532, allocations: 47 kB / 0.7072 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=52): time 2.866e-06/0.5532, allocations: 0 / 0.7072 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.007405/0.5606, allocations: 3.032 MB / 0.7102 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.5607, allocations: 158.8 kB / 0.7103 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.562, allocations: 0.9545 MB / 0.7112 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.5621, allocations: 37.7 kB / 0.7113 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.5624, allocations: 484.2 kB / 0.7117 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5626, allocations: 214.2 kB / 0.7119 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.5629, allocations: 206.5 kB / 0.7121 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5631, allocations: 338 kB / 0.7125 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000772/0.5638, allocations: 472.6 kB / 0.7129 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/0.5648, allocations: 0.7115 MB / 0.7136 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.5664, allocations: 1.085 MB / 0.7147 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5664, allocations: 0 / 0.7147 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002569/0.569, allocations: 1.57 MB / 0.7162 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.569, allocations: 8 kB / 0.7162 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.569, allocations: 11.98 kB / 0.7162 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.5707, allocations: 0.5258 MB / 0.7167 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.5715, allocations: 187.7 kB / 0.7169 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2326/0.8041, allocations: 3.027 MB / 0.7199 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.8053, allocations: 41.47 kB / 0.7199 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.8055, allocations: 45.66 kB / 0.72 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001271/0.8067, allocations: 0.6563 MB / 0.7206 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009267/0.8077, allocations: 0.6851 MB / 0.7213 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/0.8091, allocations: 1.052 MB / 0.7223 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/0.8091, allocations: 1.344 kB / 0.7223 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.00287/0.812, allocations: 1.526 MB / 0.7238 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.812, allocations: 9 kB / 0.7238 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8121, allocations: 7 kB / 0.7238 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.8131, allocations: 425.6 kB / 0.7242 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.8139, allocations: 194.2 kB / 0.7244 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8158, allocations: 2.914 MB / 0.7272 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.8167, allocations: 45.84 kB / 0.7273 GB, free: 180 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.8168, allocations: 45.11 kB / 0.7273 GB, free: 180 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.0003003/0.8171, allocations: 236.9 kB / 0.7275 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.8173, allocations: 105.8 kB / 0.7276 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.8196, allocations: 1.397 MB / 0.729 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8196, allocations: 3.609 kB / 0.729 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8196, allocations: 0 / 0.729 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.82, allocations: 285.8 kB / 0.7293 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8201, allocations: 16.28 kB / 0.7293 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.8207, allocations: 39.92 kB / 0.7293 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.8209, allocations: 48.05 kB / 0.7294 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002362/0.8232, allocations: 1.178 MB / 0.7305 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001983/0.8252, allocations: 1.503 MB / 0.732 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005511/0.8258, allocations: 411.1 kB / 0.7324 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008507/0.8266, allocations: 0.6695 MB / 0.733 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of Backend: time 3.91e-07/0.8267, allocations: 1.062 kB / 0.7331 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00525/0.8319, allocations: 2.256 MB / 0.7353 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003438/0.8354, allocations: 2.548 MB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.04126/0.8767, allocations: 33.56 MB / 0.7705 GB, free: 145.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)