Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002441/0.002447, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.271/2.271, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3029/0.3029, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.565/0.6947, allocations: 129.3 MB / 0.6051 GB, free: 8.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.7158, allocations: 9.172 MB / 0.614 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.7174, allocations: 35.69 kB / 0.6141 GB, free: 15.76 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.7196, allocations: 358.2 kB / 0.6144 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.7252, allocations: 1.18 MB / 0.6156 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009613/0.7349, allocations: 2.108 MB / 0.6176 GB, free: 12.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.7389, allocations: 1.503 MB / 0.6191 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.7408, allocations: 0.6336 MB / 0.6197 GB, free: 9.961 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.7438, allocations: 0.8257 MB / 0.6205 GB, free: 9.133 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.7464, allocations: 0.7595 MB / 0.6213 GB, free: 8.371 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.7469, allocations: 52 kB / 0.6213 GB, free: 8.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/0.7531, allocations: 1.845 MB / 0.6231 GB, free: 6.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009216/0.7541, allocations: 323.1 kB / 0.6234 GB, free: 6.156 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.7547, allocations: 217.2 kB / 0.6236 GB, free: 5.938 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.76, allocations: 1.84 MB / 0.6254 GB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7601, allocations: 0 / 0.6254 GB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.7601, allocations: 0 / 0.6254 GB, free: 4.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.7602, allocations: 0 / 0.6254 GB, free: 4.094 MB / 426.7 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.005518/0.7657, allocations: 1.383 MB / 0.6268 GB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.7658, allocations: 12.02 kB / 0.6268 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005173/0.7663, allocations: 118.5 kB / 0.6269 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.767, allocations: 118.8 kB / 0.627 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.7692, allocations: 0.7025 MB / 0.6277 GB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.7695, allocations: 116.7 kB / 0.6278 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.7698, allocations: 59.98 kB / 0.6279 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.7736, allocations: 1.196 MB / 0.629 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.7737, allocations: 0 / 0.629 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.7739, allocations: 31.98 kB / 0.6291 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/0.7741, allocations: 73.95 kB / 0.6291 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.7781, allocations: 1.195 MB / 0.6303 GB, free: 14.95 MB / 442.7 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.01609/0.7942, allocations: 5.004 MB / 0.6352 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.7968, allocations: 0.6827 MB / 0.6359 GB, free: 8.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/0.8031, allocations: 2.477 MB / 0.6383 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.8032, allocations: 46.62 kB / 0.6383 GB, free: 6.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.436e-06/0.8032, allocations: 0 / 0.6383 GB, free: 6.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01381/0.817, allocations: 3.023 MB / 0.6413 GB, free: 3.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8172, allocations: 162.8 kB / 0.6414 GB, free: 2.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.8193, allocations: 0.9466 MB / 0.6424 GB, free: 1.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.8196, allocations: 37.69 kB / 0.6424 GB, free: 1.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.8202, allocations: 485.5 kB / 0.6429 GB, free: 1.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.8205, allocations: 201.2 kB / 0.643 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.8207, allocations: 20 kB / 0.6431 GB, free: 1.199 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.8209, allocations: 350.8 kB / 0.6434 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.8223, allocations: 441.7 kB / 0.6438 GB, free: 428 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.8241, allocations: 0.6921 MB / 0.6445 GB, free: 15.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.8259, allocations: 0.5222 MB / 0.645 GB, free: 15.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.826, allocations: 4 kB / 0.645 GB, free: 15.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004767/0.8307, allocations: 1.461 MB / 0.6464 GB, free: 13.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.832, allocations: 2.627 MB / 0.649 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.8321, allocations: 12 kB / 0.649 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.8351, allocations: 0.5099 MB / 0.6495 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.8368, allocations: 187.7 kB / 0.6497 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/0.8411, allocations: 2.943 MB / 0.6526 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.8431, allocations: 64.06 kB / 0.6526 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.8435, allocations: 47.97 kB / 0.6527 GB, free: 6.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8435, allocations: 4 kB / 0.6527 GB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004528/0.848, allocations: 1.382 MB / 0.654 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.8481, allocations: 8 kB / 0.654 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.8499, allocations: 406.3 kB / 0.6544 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.8517, allocations: 187.7 kB / 0.6546 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.8558, allocations: 2.831 MB / 0.6574 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.8572, allocations: 43.97 kB / 0.6574 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.8574, allocations: 44.17 kB / 0.6575 GB, free: 1.703 MB / 458.7 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.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008641/0.8583, allocations: 376.8 kB / 0.6578 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.8586, allocations: 98.78 kB / 0.6579 GB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.863, allocations: 1.399 MB / 0.6593 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.863, allocations: 8 kB / 0.6593 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8631, allocations: 0 / 0.6593 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.8631, allocations: 7.984 kB / 0.6593 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/0.8698, allocations: 2.353 MB / 0.6616 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8699, allocations: 4 kB / 0.6616 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.8708, allocations: 95.81 kB / 0.6617 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.8735, allocations: 0.5098 MB / 0.6622 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.8737, allocations: 19.98 kB / 0.6622 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.8776, allocations: 2.915 MB / 0.665 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8776, allocations: 320 / 0.665 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/0.8827, allocations: 1.78 MB / 0.6668 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8838, allocations: 319.7 kB / 0.6671 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.8841, allocations: 12 kB / 0.6671 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.8853, allocations: 43.88 kB / 0.6671 GB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.8856, allocations: 52.48 kB / 0.6672 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.8857, allocations: 35.92 kB / 0.6672 GB, free: 7.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.8873, allocations: 0.6674 MB / 0.6679 GB, free: 6.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8873, allocations: 0 / 0.6679 GB, free: 6.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003463/0.8908, allocations: 0.8121 MB / 0.6687 GB, free: 5.777 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007687/0.8985, allocations: 3.005 MB / 0.6716 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006798/0.9054, allocations: 1.89 MB / 0.6734 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.9054, allocations: 4 kB / 0.6735 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.9075, allocations: 0.564 MB / 0.674 GB, free: 208 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.9109, allocations: 391.8 kB / 0.6744 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.9218, allocations: 7.695 MB / 0.6819 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/0.9228, allocations: 1.074 MB / 0.6829 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.9239, allocations: 367.2 kB / 0.6833 GB, free: 6.477 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9239, allocations: 0 / 0.6833 GB, free: 6.477 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.849/4.773, allocations: 35.32 MB / 0.7178 GB, free: 178.4 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)