Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",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.001752/0.001752, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 58.86 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.786, allocations: 0.6317 GB / 1.111 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/1.786, allocations: 87.02 kB / 1.111 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.103/2.89, allocations: 356.7 MB / 1.459 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/2.89, allocations: 0 / 1.459 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001331/2.89, allocations: 23.98 kB / 1.459 GB, free: 64.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005936/2.896, allocations: 1.704 MB / 1.461 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/2.896, allocations: 12.03 kB / 1.461 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004887/2.896, allocations: 118.5 kB / 1.461 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/2.898, allocations: 205.9 kB / 1.461 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/2.9, allocations: 0.8161 MB / 1.462 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/2.9, allocations: 49.3 kB / 1.462 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/2.9, allocations: 63.97 kB / 1.462 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/2.902, allocations: 1.154 MB / 1.463 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/2.902, allocations: 3.938 kB / 1.463 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/2.902, allocations: 35.81 kB / 1.463 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/2.902, allocations: 81.2 kB / 1.463 GB, free: 60 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/2.904, allocations: 1.164 MB / 1.464 GB, free: 58.84 MB / 0.5105 GB 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.006261/2.91, allocations: 4.351 MB / 1.469 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/2.912, allocations: 0.7857 MB / 1.469 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/2.912, allocations: 318.7 kB / 1.47 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/2.912, allocations: 51.11 kB / 1.47 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006438/2.913, allocations: 118.5 kB / 1.47 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 3.055e-06/2.913, allocations: 0 / 1.47 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.005751/2.918, allocations: 2.051 MB / 1.472 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/2.918, allocations: 218.2 kB / 1.472 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/2.919, allocations: 0.7784 MB / 1.473 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/2.919, allocations: 41.7 kB / 1.473 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/2.92, allocations: 439.9 kB / 1.473 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/2.92, allocations: 216.9 kB / 1.473 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/2.92, allocations: 15.03 kB / 1.473 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/2.92, allocations: 337.9 kB / 1.474 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/2.92, allocations: 381.8 kB / 1.474 GB, free: 48.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/2.921, allocations: 0.5733 MB / 1.475 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/2.922, allocations: 471 kB / 1.475 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/2.922, allocations: 3.938 kB / 1.475 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001827/2.924, allocations: 1.272 MB / 1.476 GB, free: 46.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003356/2.924, allocations: 1.751 MB / 1.478 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/2.924, allocations: 4 kB / 1.478 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/2.929, allocations: 0.8269 MB / 1.479 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/2.929, allocations: 163.7 kB / 1.479 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/2.93, allocations: 1.188 MB / 1.48 GB, free: 42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/2.931, allocations: 60.64 kB / 1.48 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/2.932, allocations: 67.98 kB / 1.48 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/2.932, allocations: 4 kB / 1.48 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/2.934, allocations: 1.07 MB / 1.481 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/2.934, allocations: 4 kB / 1.481 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/2.934, allocations: 162 kB / 1.482 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/2.935, allocations: 195.6 kB / 1.482 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/2.937, allocations: 2.21 MB / 1.484 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/2.938, allocations: 63.83 kB / 1.484 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/2.938, allocations: 63.98 kB / 1.484 GB, free: 38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006507/2.939, allocations: 352.9 kB / 1.484 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/2.939, allocations: 110 kB / 1.484 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/2.942, allocations: 1.332 MB / 1.486 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/2.942, allocations: 8 kB / 1.486 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/2.942, allocations: 3.781 kB / 1.486 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/2.942, allocations: 3.984 kB / 1.486 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/2.944, allocations: 1.98 MB / 1.488 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.944, allocations: 0 / 1.488 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/2.944, allocations: 79.88 kB / 1.488 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/2.947, allocations: 0.6925 MB / 1.488 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/2.947, allocations: 23.98 kB / 1.489 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/2.949, allocations: 1.181 MB / 1.49 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.949, allocations: 1.719 kB / 1.49 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/2.95, allocations: 1.189 MB / 1.491 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/2.95, allocations: 191.7 kB / 1.491 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/2.951, allocations: 16.06 kB / 1.491 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/2.951, allocations: 59.78 kB / 1.491 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/2.951, allocations: 48.5 kB / 1.491 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/2.951, allocations: 47.98 kB / 1.491 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007245/2.952, allocations: 0.6194 MB / 1.492 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.952, allocations: 3.938 kB / 1.492 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003796/2.956, allocations: 1.217 MB / 1.493 GB, free: 28.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005819/2.962, allocations: 3.862 MB / 1.497 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002646/2.965, allocations: 1.545 MB / 1.498 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/2.965, allocations: 0 / 1.498 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/2.965, allocations: 423.5 kB / 1.499 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/2.968, allocations: 0.5459 MB / 1.499 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/2.973, allocations: 5.818 MB / 1.505 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/2.974, allocations: 1.074 MB / 1.506 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001804/2.976, allocations: 451.8 kB / 1.506 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/2.976, allocations: 355.2 kB / 1.507 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/2.976, allocations: 0 / 1.507 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4002/3.376, allocations: 55.92 MB / 1.561 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/3.376, allocations: 266.9 kB / 1.562 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.193/7.569, allocations: 0 / 1.562 GB, free: 73.03 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat