Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009382/0.0009385, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00656/0.00656, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.59/1.59, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.374/0.374, allocations: 40 MB / 310.7 MB, free: 9.625 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007899/0.0007899, allocations: 12 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1303, allocations: 57.95 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3786/0.509, allocations: 148.7 MB / 0.5724 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.5232, allocations: 10.69 MB / 0.5828 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.5247, allocations: 35.69 kB / 0.5828 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.5258, allocations: 350.1 kB / 0.5832 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.5298, allocations: 1.362 MB / 0.5845 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006832/0.5367, allocations: 2.289 MB / 0.5867 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004648/0.5414, allocations: 3.903 MB / 0.5905 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.5425, allocations: 0.6495 MB / 0.5912 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.5443, allocations: 0.8796 MB / 0.592 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.5465, allocations: 1.129 MB / 0.5931 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.5467, allocations: 52 kB / 0.5932 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.5511, allocations: 1.969 MB / 0.5951 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.5516, allocations: 370.9 kB / 0.5955 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.5523, allocations: 0.5421 MB / 0.596 GB, free: 5.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004437/0.5568, allocations: 2.509 MB / 0.5984 GB, free: 3.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5568, allocations: 3.938 kB / 0.5984 GB, free: 3.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5568, allocations: 0 / 0.5984 GB, free: 3.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.5568, allocations: 0 / 0.5984 GB, free: 3.316 MB / 462.1 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.003233/0.5601, allocations: 1.371 MB / 0.5998 GB, free: 1.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5601, allocations: 8.031 kB / 0.5998 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.5605, allocations: 126.8 kB / 0.5999 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.5616, allocations: 0.7214 MB / 0.6006 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.5618, allocations: 112.7 kB / 0.6007 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.5619, allocations: 71.97 kB / 0.6008 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5638, allocations: 1.2 MB / 0.602 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.5638, allocations: 3.938 kB / 0.602 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.5639, allocations: 31.98 kB / 0.602 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.5641, allocations: 77.94 kB / 0.6021 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.5659, allocations: 1.206 MB / 0.6032 GB, free: 14.25 MB / 478.1 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.007832/0.5737, allocations: 4.933 MB / 0.6081 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.575, allocations: 0.6887 MB / 0.6087 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.5756, allocations: 422.3 kB / 0.6091 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003085/0.5787, allocations: 2.441 MB / 0.6115 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.5788, allocations: 43 kB / 0.6116 GB, free: 5.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.5788, allocations: 0 / 0.6116 GB, free: 5.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.007136/0.5859, allocations: 3.042 MB / 0.6145 GB, free: 2.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.586, allocations: 158.8 kB / 0.6147 GB, free: 1.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5873, allocations: 0.9544 MB / 0.6156 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.5874, allocations: 37.7 kB / 0.6157 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.5877, allocations: 471 kB / 0.6161 GB, free: 412 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.5879, allocations: 201.2 kB / 0.6163 GB, free: 208 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.588, allocations: 81.67 kB / 0.6164 GB, free: 120 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5882, allocations: 345.9 kB / 0.6167 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.5889, allocations: 461.7 kB / 0.6171 GB, free: 15.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.5898, allocations: 0.7076 MB / 0.6178 GB, free: 14.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.5914, allocations: 1.089 MB / 0.6189 GB, free: 13.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5914, allocations: 4 kB / 0.6189 GB, free: 13.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002538/0.5939, allocations: 1.566 MB / 0.6204 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.5942, allocations: 286 kB / 0.6207 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5942, allocations: 8 kB / 0.6207 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.5959, allocations: 0.5251 MB / 0.6212 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.5966, allocations: 191.7 kB / 0.6214 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.5993, allocations: 2.933 MB / 0.6243 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.6003, allocations: 55.94 kB / 0.6243 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/0.6004, allocations: 51.97 kB / 0.6244 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6004, allocations: 7.938 kB / 0.6244 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002453/0.6029, allocations: 1.405 MB / 0.6258 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6029, allocations: 8 kB / 0.6258 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.604, allocations: 422.8 kB / 0.6262 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.6047, allocations: 195.6 kB / 0.6264 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.6071, allocations: 2.841 MB / 0.6291 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/0.608, allocations: 56.12 kB / 0.6292 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.6081, allocations: 43.98 kB / 0.6292 GB, free: 2.219 MB / 494.1 MB 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.0005525/0.6087, allocations: 368.8 kB / 0.6296 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6088, allocations: 98.81 kB / 0.6297 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.6112, allocations: 1.397 MB / 0.631 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.6112, allocations: 8 kB / 0.631 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6112, allocations: 0 / 0.631 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6113, allocations: 3.984 kB / 0.631 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2103/0.8216, allocations: 2.334 MB / 0.6333 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8216, allocations: 1.344 kB / 0.6333 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.8221, allocations: 91.27 kB / 0.6334 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.8235, allocations: 0.5121 MB / 0.6339 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.8236, allocations: 22.67 kB / 0.6339 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.8257, allocations: 2.919 MB / 0.6368 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8257, allocations: 0 / 0.6368 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.8283, allocations: 1.766 MB / 0.6385 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.8289, allocations: 307 kB / 0.6388 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.829, allocations: 9.75 kB / 0.6388 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.8296, allocations: 41.47 kB / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.8298, allocations: 58.8 kB / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.8299, allocations: 31.86 kB / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.8307, allocations: 0.6722 MB / 0.6396 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8307, allocations: 0 / 0.6396 GB, free: 151.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002279/0.833, allocations: 0.8062 MB / 0.6404 GB, free: 151.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/0.8346, allocations: 0.6596 MB / 0.641 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.838, allocations: 1.915 MB / 0.6429 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.838, allocations: 0 / 0.6429 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8391, allocations: 0.5828 MB / 0.6435 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.8412, allocations: 408.8 kB / 0.6439 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.8446, allocations: 2.343 MB / 0.6461 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.8451, allocations: 1.064 MB / 0.6472 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001285/0.8464, allocations: 433.7 kB / 0.6476 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.8466, allocations: 92.56 kB / 0.6477 GB, free: 148.6 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8466, allocations: 3.375 kB / 0.6477 GB, free: 148.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04817/0.8948, allocations: 28.26 MB / 0.6753 GB, free: 141.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) Environment - environmentSimulation: