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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009666, allocations: 97.19 kB / 16.99 MB, free: 6.402 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.0008792/0.0008793, allocations: 178 kB / 17.88 MB, free: 5.957 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.284/1.284, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1887/0.1887, allocations: 44.23 MB / 337.1 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 61.93 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3848/0.5107, allocations: 129.3 MB / 0.5868 GB, free: 96 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.5237, allocations: 9.215 MB / 0.5958 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5249, allocations: 35.69 kB / 0.5958 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.5262, allocations: 350.2 kB / 0.5961 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.5293, allocations: 1.192 MB / 0.5973 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.5344, allocations: 2.108 MB / 0.5993 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5367, allocations: 1.511 MB / 0.6008 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.5376, allocations: 0.6145 MB / 0.6014 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.5389, allocations: 0.8297 MB / 0.6022 GB, free: 240 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.5399, allocations: 0.7634 MB / 0.603 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5401, allocations: 52 kB / 0.603 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.5435, allocations: 1.849 MB / 0.6048 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.5439, allocations: 323.1 kB / 0.6051 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.5441, allocations: 217.2 kB / 0.6053 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.5465, allocations: 1.84 MB / 0.6071 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5465, allocations: 3.938 kB / 0.6071 GB, free: 11.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5465, allocations: 0 / 0.6071 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5465, allocations: 0 / 0.6071 GB, free: 11.18 MB / 446.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.002815/0.5493, allocations: 1.379 MB / 0.6085 GB, free: 9.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5494, allocations: 12.56 kB / 0.6085 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.5496, allocations: 126.5 kB / 0.6086 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.5499, allocations: 114.8 kB / 0.6087 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5511, allocations: 0.6947 MB / 0.6094 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.5512, allocations: 124.6 kB / 0.6095 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5513, allocations: 63.98 kB / 0.6096 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.553, allocations: 1.196 MB / 0.6108 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5531, allocations: 0 / 0.6108 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.5532, allocations: 27.98 kB / 0.6108 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.5533, allocations: 73.95 kB / 0.6109 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.5551, allocations: 1.202 MB / 0.612 GB, free: 6.031 MB / 446.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.007687/0.5628, allocations: 4.989 MB / 0.6169 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.5639, allocations: 0.6802 MB / 0.6176 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003115/0.567, allocations: 2.477 MB / 0.62 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5671, allocations: 43.88 kB / 0.62 GB, free: 13.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.5671, allocations: 0 / 0.62 GB, free: 13.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.006601/0.5737, allocations: 3.023 MB / 0.623 GB, free: 10.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.5738, allocations: 162.8 kB / 0.6231 GB, free: 9.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5749, allocations: 0.9465 MB / 0.6241 GB, free: 9.031 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.5749, allocations: 37.7 kB / 0.6241 GB, free: 8.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.5753, allocations: 475.1 kB / 0.6245 GB, free: 8.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.5754, allocations: 205.1 kB / 0.6247 GB, free: 8.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.5755, allocations: 20 kB / 0.6248 GB, free: 8.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5756, allocations: 334 kB / 0.6251 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.5763, allocations: 457.7 kB / 0.6255 GB, free: 7.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.5772, allocations: 0.6959 MB / 0.6262 GB, free: 6.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.578, allocations: 0.5222 MB / 0.6267 GB, free: 6.191 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.578, allocations: 3.953 kB / 0.6267 GB, free: 6.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002309/0.5803, allocations: 1.523 MB / 0.6282 GB, free: 4.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007916/0.5811, allocations: 2.615 MB / 0.6308 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5811, allocations: 8 kB / 0.6308 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.5827, allocations: 0.5177 MB / 0.6313 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.5835, allocations: 187.7 kB / 0.6314 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.586, allocations: 2.955 MB / 0.6343 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.5869, allocations: 55.88 kB / 0.6344 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/0.587, allocations: 43.98 kB / 0.6344 GB, free: 13.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.587, allocations: 4 kB / 0.6344 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002328/0.5894, allocations: 1.382 MB / 0.6358 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5894, allocations: 8 kB / 0.6358 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.5904, allocations: 430.3 kB / 0.6362 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.5912, allocations: 187.7 kB / 0.6364 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5934, allocations: 2.826 MB / 0.6391 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/0.5943, allocations: 56.03 kB / 0.6392 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5944, allocations: 43.98 kB / 0.6392 GB, free: 8.715 MB / 478.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.0005967/0.595, allocations: 372.8 kB / 0.6396 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5952, allocations: 102.7 kB / 0.6397 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.5977, allocations: 1.402 MB / 0.6411 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.5977, allocations: 15.98 kB / 0.6411 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5977, allocations: 0 / 0.6411 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5977, allocations: 0 / 0.6411 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.6018, allocations: 2.349 MB / 0.6434 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6018, allocations: 0 / 0.6434 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.6023, allocations: 91.88 kB / 0.6435 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.6038, allocations: 0.5138 MB / 0.644 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.6039, allocations: 23.94 kB / 0.644 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.6063, allocations: 2.915 MB / 0.6468 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6063, allocations: 3.938 kB / 0.6468 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.6088, allocations: 1.781 MB / 0.6486 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/0.6095, allocations: 311.7 kB / 0.6489 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.6097, allocations: 12 kB / 0.6489 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.6104, allocations: 47.94 kB / 0.6489 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6106, allocations: 56.47 kB / 0.649 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/0.6106, allocations: 31.98 kB / 0.649 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008695/0.6115, allocations: 0.6596 MB / 0.6496 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6115, allocations: 0 / 0.6496 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0021/0.6136, allocations: 0.8082 MB / 0.6504 GB, free: 12.81 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 (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.004318/0.618, allocations: 3.002 MB / 0.6534 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00374/0.6217, allocations: 1.898 MB / 0.6552 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6217, allocations: 256 / 0.6552 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.6228, allocations: 0.5835 MB / 0.6558 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.6248, allocations: 381.1 kB / 0.6562 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.6312, allocations: 7.658 MB / 0.6636 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.6319, allocations: 1.082 MB / 0.6647 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001342/0.6332, allocations: 439 kB / 0.6651 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.6337, allocations: 351.3 kB / 0.6654 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.6337, allocations: 0 / 0.6654 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.6957, allocations: 36.27 MB / 0.7009 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.6959, allocations: 277.1 kB / 0.7011 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.551, allocations: 0 / 0.7011 GB, free: 8.832 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat