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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 99.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003211, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 63.45 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.4133/0.533, allocations: 129.4 MB / 0.5966 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.5455, allocations: 9.225 MB / 0.6056 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.5466, allocations: 35.69 kB / 0.6056 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.5478, allocations: 358.2 kB / 0.606 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.5511, allocations: 1.192 MB / 0.6071 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005301/0.5564, allocations: 2.097 MB / 0.6092 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.559, allocations: 1.503 MB / 0.6106 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009947/0.56, allocations: 0.6295 MB / 0.6112 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.5616, allocations: 0.8258 MB / 0.6121 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.5628, allocations: 0.7789 MB / 0.6128 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.563, allocations: 56 kB / 0.6129 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5667, allocations: 1.864 MB / 0.6147 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.5672, allocations: 327.1 kB / 0.615 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.5676, allocations: 209.3 kB / 0.6152 GB, free: 408 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.5705, allocations: 1.849 MB / 0.617 GB, free: 14.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5705, allocations: 0 / 0.617 GB, free: 14.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5705, allocations: 0 / 0.617 GB, free: 14.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.5706, allocations: 0 / 0.617 GB, free: 14.54 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.003096/0.5737, allocations: 1.375 MB / 0.6183 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5737, allocations: 8.031 kB / 0.6184 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/0.5739, allocations: 130.5 kB / 0.6185 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.5743, allocations: 114.7 kB / 0.6186 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5755, allocations: 0.7024 MB / 0.6193 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5757, allocations: 120.7 kB / 0.6194 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5758, allocations: 67.97 kB / 0.6195 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.5776, allocations: 1.184 MB / 0.6206 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5776, allocations: 4 kB / 0.6206 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.652e-05/0.5777, allocations: 31.97 kB / 0.6206 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.5778, allocations: 81.88 kB / 0.6207 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.5796, allocations: 1.198 MB / 0.6219 GB, free: 9.383 MB / 462.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.008092/0.5878, allocations: 4.995 MB / 0.6268 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.589, allocations: 0.6866 MB / 0.6274 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003206/0.5922, allocations: 2.477 MB / 0.6299 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.5923, allocations: 42.98 kB / 0.6299 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.374e-06/0.5923, allocations: 0 / 0.6299 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.007105/0.5994, allocations: 3.023 MB / 0.6329 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.5995, allocations: 162.8 kB / 0.633 GB, free: 13.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6008, allocations: 0.9504 MB / 0.6339 GB, free: 12.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.665e-05/0.6009, allocations: 37.7 kB / 0.634 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.6012, allocations: 471.1 kB / 0.6344 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.6014, allocations: 209.1 kB / 0.6346 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.6015, allocations: 23.94 kB / 0.6346 GB, free: 11.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6016, allocations: 341.9 kB / 0.635 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.6023, allocations: 453.7 kB / 0.6354 GB, free: 10.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.6031, allocations: 0.6843 MB / 0.6361 GB, free: 10.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.6039, allocations: 0.5183 MB / 0.6366 GB, free: 9.535 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.604, allocations: 4 kB / 0.6366 GB, free: 9.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00244/0.6064, allocations: 1.523 MB / 0.6381 GB, free: 7.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008372/0.6073, allocations: 2.629 MB / 0.6406 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6073, allocations: 4 kB / 0.6406 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.609, allocations: 0.5144 MB / 0.6411 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.6098, allocations: 191.7 kB / 0.6413 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.6122, allocations: 2.933 MB / 0.6442 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009894/0.6132, allocations: 56.12 kB / 0.6442 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6133, allocations: 55.91 kB / 0.6443 GB, free: 1.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.6133, allocations: 4 kB / 0.6443 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002278/0.6156, allocations: 1.374 MB / 0.6456 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6156, allocations: 12.12 kB / 0.6457 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.6168, allocations: 419.3 kB / 0.6461 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.6176, allocations: 191.7 kB / 0.6462 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.6197, allocations: 2.837 MB / 0.649 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.6206, allocations: 52.19 kB / 0.6491 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6207, allocations: 39.98 kB / 0.6491 GB, free: 12.07 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.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.0005245/0.6212, allocations: 380.7 kB / 0.6495 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6214, allocations: 98.78 kB / 0.6496 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.6238, allocations: 1.404 MB / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6238, allocations: 4 kB / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6238, allocations: 0 / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6239, allocations: 7.984 kB / 0.6509 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.6275, allocations: 2.357 MB / 0.6532 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6276, allocations: 4 kB / 0.6532 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.628, allocations: 87.88 kB / 0.6533 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.6296, allocations: 0.5137 MB / 0.6538 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.6297, allocations: 19.98 kB / 0.6538 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.632, allocations: 2.92 MB / 0.6567 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.632, allocations: 3.984 kB / 0.6567 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.6346, allocations: 1.773 MB / 0.6584 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.6353, allocations: 319.7 kB / 0.6587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.6355, allocations: 16 kB / 0.6588 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.6362, allocations: 39.88 kB / 0.6588 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6364, allocations: 60.53 kB / 0.6588 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.6365, allocations: 31.94 kB / 0.6589 GB, free: 1.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009219/0.6374, allocations: 0.6713 MB / 0.6595 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6374, allocations: 0 / 0.6595 GB, free: 0.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002227/0.6396, allocations: 0.8121 MB / 0.6603 GB, free: 148 kB / 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 (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.004767/0.6444, allocations: 2.999 MB / 0.6633 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.6484, allocations: 1.893 MB / 0.6651 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.6484, allocations: 8 kB / 0.6651 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.6496, allocations: 0.5772 MB / 0.6657 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6517, allocations: 378.5 kB / 0.666 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.6594, allocations: 7.667 MB / 0.6735 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.6601, allocations: 1.086 MB / 0.6746 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001535/0.6617, allocations: 431 kB / 0.675 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/0.6622, allocations: 355.2 kB / 0.6753 GB, free: 476 kB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.6622, allocations: 0 / 0.6753 GB, free: 476 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.247/0.9092, allocations: 36.29 MB / 0.7108 GB, free: 192.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.9094, allocations: 270.9 kB / 0.711 GB, free: 192.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.745, allocations: 0 / 0.711 GB, free: 192.5 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat