Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009796/0.0009797, allocations: 95.61 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 203.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 45.92 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 63.47 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.02448/0.138, allocations: 24.3 MB / 0.494 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.243/0.3811, allocations: 14.77 MB / 0.5084 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.3818, allocations: 16.66 kB / 0.5084 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.3828, allocations: 261.8 kB / 0.5087 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.393, allocations: 2.975 MB / 0.5116 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.4044, allocations: 2.999 MB / 0.5145 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.406, allocations: 0.6083 MB / 0.5151 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.4066, allocations: 238 kB / 0.5153 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4079, allocations: 439.6 kB / 0.5157 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.4083, allocations: 226 kB / 0.516 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.4084, allocations: 20.22 kB / 0.516 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/0.4269, allocations: 7.183 MB / 0.523 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4272, allocations: 84.45 kB / 0.5231 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.4275, allocations: 119.9 kB / 0.5232 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4381, allocations: 3.076 MB / 0.5262 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4382, allocations: 4.219 kB / 0.5262 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.231e-06/0.4382, allocations: 0 / 0.5262 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4382, allocations: 0 / 0.5262 GB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006364/0.4446, allocations: 1.247 MB / 0.5274 GB, free: 9.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.4447, allocations: 13.31 kB / 0.5274 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.4448, allocations: 72.52 kB / 0.5275 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.4468, allocations: 244 kB / 0.5277 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.4475, allocations: 382.9 kB / 0.5281 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4476, allocations: 36.91 kB / 0.5281 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.4476, allocations: 33.3 kB / 0.5282 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4492, allocations: 0.6333 MB / 0.5288 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4492, allocations: 1.281 kB / 0.5288 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.4493, allocations: 13.19 kB / 0.5288 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4493, allocations: 9.719 kB / 0.5288 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4508, allocations: 0.5989 MB / 0.5294 GB, free: 8.469 MB / 382.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.002892/0.4537, allocations: 2.748 MB / 0.5321 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4555, allocations: 0.5854 MB / 0.5326 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05199/0.5075, allocations: 26.99 MB / 0.559 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.5076, allocations: 44.69 kB / 0.559 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.5076, allocations: 0 / 0.559 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.003112/0.5107, allocations: 0.8514 MB / 0.5599 GB, free: 12.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.5108, allocations: 110.5 kB / 0.56 GB, free: 11.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.5115, allocations: 392.7 kB / 0.5603 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.5115, allocations: 35.56 kB / 0.5604 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.5117, allocations: 228.1 kB / 0.5606 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5119, allocations: 102.4 kB / 0.5607 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.5119, allocations: 6.5 kB / 0.5607 GB, free: 11.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5121, allocations: 349.4 kB / 0.561 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.5125, allocations: 162.6 kB / 0.5612 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.513, allocations: 290.3 kB / 0.5615 GB, free: 10.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5135, allocations: 194.7 kB / 0.5617 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5135, allocations: 0 / 0.5617 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001145/0.5146, allocations: 0.5038 MB / 0.5621 GB, free: 10.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005339/0.5152, allocations: 1.397 MB / 0.5635 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.5152, allocations: 4 kB / 0.5635 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.5152, allocations: 12 kB / 0.5635 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.5157, allocations: 109.8 kB / 0.5636 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.5157, allocations: 7.984 kB / 0.5636 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.5162, allocations: 75.06 kB / 0.5637 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.5162, allocations: 26.48 kB / 0.5637 GB, free: 8.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5163, allocations: 6.906 kB / 0.5637 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009568/0.5172, allocations: 439 kB / 0.5642 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.5172, allocations: 0 / 0.5642 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.5173, allocations: 8 kB / 0.5642 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.5177, allocations: 108.2 kB / 0.5643 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5177, allocations: 11.98 kB / 0.5643 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.5182, allocations: 63.64 kB / 0.5643 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.5182, allocations: 22.95 kB / 0.5644 GB, free: 7.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.5185, allocations: 249.5 kB / 0.5646 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5187, allocations: 45.14 kB / 0.5646 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.5212, allocations: 1.978 MB / 0.5666 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.5213, allocations: 29.33 kB / 0.5666 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5213, allocations: 2.625 kB / 0.5666 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5213, allocations: 3.984 kB / 0.5666 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.5226, allocations: 1.076 MB / 0.5677 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5226, allocations: 0 / 0.5677 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.5229, allocations: 87.66 kB / 0.5677 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.5229, allocations: 4 kB / 0.5677 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.523, allocations: 7.25 kB / 0.5678 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.523, allocations: 0 / 0.5678 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.523, allocations: 0 / 0.5678 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.5245, allocations: 1.136 MB / 0.5689 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.525, allocations: 275.4 kB / 0.5691 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5251, allocations: 4.25 kB / 0.5691 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.5255, allocations: 43.59 kB / 0.5692 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5257, allocations: 37.7 kB / 0.5692 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.5257, allocations: 11.98 kB / 0.5692 GB, free: 4.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005019/0.5262, allocations: 381.1 kB / 0.5696 GB, free: 3.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5262, allocations: 0 / 0.5696 GB, free: 3.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004765/0.531, allocations: 1.137 MB / 0.5707 GB, free: 2.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01047/0.5415, allocations: 2.801 MB / 0.5734 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.5438, allocations: 0.8787 MB / 0.5743 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5438, allocations: 2.531 kB / 0.5743 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.5445, allocations: 0.5327 MB / 0.5748 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5461, allocations: 220 kB / 0.575 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008526/0.5546, allocations: 5.066 MB / 0.58 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.5553, allocations: 1.003 MB / 0.5809 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.5564, allocations: 0.6108 MB / 0.5815 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.5567, allocations: 287.2 kB / 0.5818 GB, free: 8.902 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5567, allocations: 0 / 0.5818 GB, free: 8.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08027/0.637, allocations: 48.36 MB / 0.629 GB, free: 8.859 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.6372, allocations: 230.4 kB / 0.6293 GB, free: 8.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/4.726, allocations: 0 / 0.6293 GB, free: 8.625 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat