Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.0008778, allocations: 89.34 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1791/0.1791, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09299, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.616, allocations: 0.7599 GB / 1.271 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.616, allocations: 79.95 kB / 1.271 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.592/5.209, allocations: 1.152 GB / 2.423 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/5.209, allocations: 0 / 2.423 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001604/5.209, allocations: 38.5 kB / 2.423 GB, free: 28.93 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01625/5.225, allocations: 2.475 MB / 2.425 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/5.225, allocations: 8.031 kB / 2.425 GB, free: 26.4 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009473/5.226, allocations: 194.4 kB / 2.426 GB, free: 26.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/5.231, allocations: 473.6 kB / 2.426 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/5.234, allocations: 1.207 MB / 2.427 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/5.234, allocations: 89.52 kB / 2.427 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/5.235, allocations: 112 kB / 2.427 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006258/5.241, allocations: 2.884 MB / 2.43 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/5.241, allocations: 0 / 2.43 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/5.242, allocations: 67.95 kB / 2.43 GB, free: 21.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/5.242, allocations: 138.4 kB / 2.43 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/5.248, allocations: 3.602 MB / 2.434 GB, free: 17.51 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01513/5.263, allocations: 8.482 MB / 2.442 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/5.267, allocations: 1.542 MB / 2.444 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/5.267, allocations: 0.784 MB / 2.444 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/5.269, allocations: 0.7464 MB / 2.445 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/5.269, allocations: 51.58 kB / 2.445 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002987/5.272, allocations: 0.8414 MB / 2.446 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 9.768e-06/5.272, allocations: 0 / 2.446 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.003382/5.275, allocations: 2.104 MB / 2.448 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/5.275, allocations: 137.3 kB / 2.448 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/5.277, allocations: 1.488 MB / 2.45 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/5.277, allocations: 45.7 kB / 2.45 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000435/5.278, allocations: 0.6415 MB / 2.45 GB, free: 140 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/5.278, allocations: 264.2 kB / 2.451 GB, free: 15.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/5.278, allocations: 20 kB / 2.451 GB, free: 15.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001646/5.278, allocations: 345.9 kB / 2.451 GB, free: 15.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/5.28, allocations: 0.8179 MB / 2.452 GB, free: 14.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/5.281, allocations: 1.02 MB / 2.453 GB, free: 13.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/5.283, allocations: 0.9311 MB / 2.454 GB, free: 12.67 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/5.283, allocations: 7.938 kB / 2.454 GB, free: 12.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004885/5.288, allocations: 2.639 MB / 2.456 GB, free: 10 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007997/5.288, allocations: 1.87 MB / 2.458 GB, free: 8.031 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/5.288, allocations: 12 kB / 2.458 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/5.308, allocations: 3.687 MB / 2.462 GB, free: 4.324 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/5.31, allocations: 191.7 kB / 2.462 GB, free: 4.137 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/5.313, allocations: 2.251 MB / 2.464 GB, free: 1.859 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/5.315, allocations: 83.83 kB / 2.464 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/5.315, allocations: 83.92 kB / 2.464 GB, free: 1.695 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/5.315, allocations: 4 kB / 2.464 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3676/5.683, allocations: 2.042 MB / 2.466 GB, free: 72.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/5.683, allocations: 8.359 kB / 2.466 GB, free: 72.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/5.683, allocations: 160.1 kB / 2.466 GB, free: 72.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/5.685, allocations: 266.6 kB / 2.467 GB, free: 72.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/5.688, allocations: 2.17 MB / 2.469 GB, free: 71.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/5.69, allocations: 80.3 kB / 2.469 GB, free: 71.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/5.69, allocations: 82.55 kB / 2.469 GB, free: 71.35 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.0004189/5.69, allocations: 159.4 kB / 2.469 GB, free: 71.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/5.691, allocations: 156.8 kB / 2.469 GB, free: 71.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/5.696, allocations: 3.259 MB / 2.472 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/5.696, allocations: 8.5 kB / 2.472 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/5.696, allocations: 0 / 2.472 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/5.696, allocations: 6.375 kB / 2.472 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004574/5.7, allocations: 3.212 MB / 2.476 GB, free: 70.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/5.7, allocations: 0 / 2.476 GB, free: 70.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/5.701, allocations: 76.94 kB / 2.476 GB, free: 70.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/5.711, allocations: 2.533 MB / 2.478 GB, free: 70.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/5.712, allocations: 29.98 kB / 2.478 GB, free: 70.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/5.714, allocations: 1.888 MB / 2.48 GB, free: 70.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/5.714, allocations: 3.953 kB / 2.48 GB, free: 70.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/5.717, allocations: 1.873 MB / 2.482 GB, free: 69.99 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/5.717, allocations: 265 kB / 2.482 GB, free: 69.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/5.718, allocations: 14.73 kB / 2.482 GB, free: 69.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/5.719, allocations: 87.94 kB / 2.482 GB, free: 69.81 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/5.719, allocations: 49 kB / 2.482 GB, free: 69.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/5.719, allocations: 63.89 kB / 2.482 GB, free: 69.81 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001735/5.721, allocations: 1.165 MB / 2.483 GB, free: 69.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/5.721, allocations: 0 / 2.483 GB, free: 69.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005523/5.726, allocations: 1.76 MB / 2.485 GB, free: 69.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.009142/5.736, allocations: 4.67 MB / 2.49 GB, free: 68.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005813/5.741, allocations: 2.98 MB / 2.493 GB, free: 68.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/5.742, allocations: 2.75 kB / 2.493 GB, free: 68.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/5.743, allocations: 0.711 MB / 2.493 GB, free: 68.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004536/5.747, allocations: 0.9283 MB / 2.494 GB, free: 68.53 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/5.753, allocations: 2.761 MB / 2.497 GB, free: 68.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/5.754, allocations: 1.328 MB / 2.498 GB, free: 67.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003052/5.757, allocations: 1.187 MB / 2.499 GB, free: 67.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/5.758, allocations: 0.5174 MB / 2.5 GB, free: 67.29 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/5.758, allocations: 0 / 2.5 GB, free: 67.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/5.889, allocations: 96.78 MB / 2.594 GB, free: 61.55 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/5.889, allocations: 227.5 kB / 2.595 GB, free: 61.33 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.964/10.85, allocations: 2.531 kB / 2.595 GB, free: 61.33 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat