Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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.0009905/0.0009905, allocations: 177.4 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 78.23 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.23/0.23, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.192/2.328, allocations: 0.7914 GB / 1.257 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/2.329, allocations: 87.45 kB / 1.257 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.333/6.662, allocations: 1.129 GB / 2.387 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.026e-06/6.662, allocations: 0 / 2.387 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001455/6.662, allocations: 38.16 kB / 2.387 GB, free: 63.6 MB / 0.5261 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.01803/6.68, allocations: 2.34 MB / 2.389 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/6.68, allocations: 11.59 kB / 2.389 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006926/6.687, allocations: 439.8 kB / 2.389 GB, free: 62.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/6.692, allocations: 1.211 MB / 2.391 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/6.692, allocations: 43.78 kB / 2.391 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/6.692, allocations: 62.75 kB / 2.391 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008321/6.701, allocations: 3.43 MB / 2.394 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/6.707, allocations: 2.383 MB / 2.396 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/6.707, allocations: 0 / 2.396 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/6.708, allocations: 3.906 kB / 2.396 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/6.708, allocations: 141.6 kB / 2.396 GB, free: 60.83 MB / 0.5261 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.02353/6.731, allocations: 8.585 MB / 2.405 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/6.736, allocations: 1.665 MB / 2.406 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/6.738, allocations: 0.8932 MB / 2.407 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/6.739, allocations: 0.8152 MB / 2.408 GB, free: 54.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/6.74, allocations: 46.3 kB / 2.408 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003957/6.743, allocations: 0.7613 MB / 2.409 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 8.206e-06/6.744, allocations: 4 kB / 2.409 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.006235/6.75, allocations: 2.363 MB / 2.411 GB, free: 52.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/6.75, allocations: 137.3 kB / 2.411 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/6.751, allocations: 0.783 MB / 2.412 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/6.752, allocations: 25.7 kB / 2.412 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/6.752, allocations: 0.6696 MB / 2.413 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/6.753, allocations: 251.3 kB / 2.413 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/6.753, allocations: 0 / 2.413 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/6.753, allocations: 346.1 kB / 2.413 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/6.755, allocations: 0.9226 MB / 2.414 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/6.757, allocations: 1.105 MB / 2.415 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/6.77, allocations: 2.424 MB / 2.418 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/6.77, allocations: 3.719 kB / 2.418 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01826/6.788, allocations: 4.102 MB / 2.422 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004381/6.789, allocations: 1.578 MB / 2.423 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/6.789, allocations: 4 kB / 2.423 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02781/6.817, allocations: 3.877 MB / 2.427 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/6.819, allocations: 199.6 kB / 2.427 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/6.825, allocations: 2.661 MB / 2.43 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/6.829, allocations: 83.38 kB / 2.43 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/6.829, allocations: 75.94 kB / 2.43 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/6.829, allocations: 7.984 kB / 2.43 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0164/6.845, allocations: 3.487 MB / 2.433 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/6.846, allocations: 11.58 kB / 2.433 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/6.847, allocations: 152.2 kB / 2.434 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/6.849, allocations: 279.5 kB / 2.434 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/6.853, allocations: 2.104 MB / 2.436 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/6.855, allocations: 74.95 kB / 2.436 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004008/6.856, allocations: 87.39 kB / 2.436 GB, free: 28.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0006049/6.856, allocations: 124.7 kB / 2.436 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005481/6.862, allocations: 2.326 MB / 2.438 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/6.863, allocations: 114.7 kB / 2.439 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007147/6.87, allocations: 2.488 MB / 2.441 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/6.87, allocations: 8 kB / 2.441 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/6.87, allocations: 0 / 2.441 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/6.87, allocations: 3.984 kB / 2.441 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008656/6.879, allocations: 3.488 MB / 2.444 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/6.879, allocations: 0 / 2.444 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/6.88, allocations: 87.86 kB / 2.444 GB, free: 19.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01454/6.894, allocations: 2.747 MB / 2.447 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/6.895, allocations: 23.92 kB / 2.447 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/6.898, allocations: 2.239 MB / 2.449 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/6.898, allocations: 4 kB / 2.449 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/6.902, allocations: 2.087 MB / 2.451 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/6.903, allocations: 199.8 kB / 2.452 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/6.903, allocations: 4 kB / 2.452 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/6.904, allocations: 87.73 kB / 2.452 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/6.905, allocations: 44.72 kB / 2.452 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/6.905, allocations: 64.23 kB / 2.452 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00083/6.906, allocations: 0.6007 MB / 2.452 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/6.906, allocations: 0 / 2.452 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007645/6.913, allocations: 1.937 MB / 2.454 GB, free: 9.453 MB / 0.5261 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.01219/6.925, allocations: 5.318 MB / 2.459 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006148/6.932, allocations: 3.172 MB / 2.463 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/6.932, allocations: 5.031 kB / 2.463 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/6.933, allocations: 0.794 MB / 2.463 GB, free: 444 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3995/7.333, allocations: 476.2 kB / 2.464 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/7.345, allocations: 2.758 MB / 2.467 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/7.346, allocations: 1.338 MB / 2.468 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002754/7.349, allocations: 0.5238 MB / 2.468 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/7.35, allocations: 498.1 kB / 2.469 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of SimCode: time 2.224e-06/7.35, allocations: 3.625 kB / 2.469 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/7.5, allocations: 71.13 MB / 2.538 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/7.5, allocations: 179.7 kB / 2.538 GB, free: 63.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.517/12.02, allocations: 0 / 2.538 GB, free: 63.75 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat