Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001567/0.001567, allocations: 186.3 kB / 16.4 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001162/0.001162, allocations: 90.14 kB / 270.9 MB, free: 8.383 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.6435/0.6435, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006471, allocations: 20 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1335, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.29/2.424, allocations: 0.6317 GB / 1.111 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/2.424, allocations: 93.62 kB / 1.111 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.706/4.13, allocations: 356.7 MB / 1.459 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.296e-06/4.13, allocations: 4 kB / 1.459 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001081/4.13, allocations: 31.98 kB / 1.459 GB, free: 26.3 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.007079/4.137, allocations: 1.696 MB / 1.461 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/4.137, allocations: 8.031 kB / 1.461 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000552/4.138, allocations: 118.5 kB / 1.461 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/4.139, allocations: 210.5 kB / 1.461 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/4.142, allocations: 0.8044 MB / 1.462 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/4.143, allocations: 57.28 kB / 1.462 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/4.143, allocations: 63.97 kB / 1.462 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/4.146, allocations: 1.163 MB / 1.463 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/4.146, allocations: 0 / 1.463 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/4.146, allocations: 31.97 kB / 1.463 GB, free: 22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/4.146, allocations: 81.27 kB / 1.463 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/4.149, allocations: 1.161 MB / 1.464 GB, free: 20.76 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.01145/4.161, allocations: 4.359 MB / 1.469 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/4.163, allocations: 0.7817 MB / 1.469 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/4.164, allocations: 330.7 kB / 1.47 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/4.164, allocations: 43.12 kB / 1.47 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001287/4.165, allocations: 127.1 kB / 1.47 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 3.427e-06/4.165, allocations: 0 / 1.47 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.01221/4.177, allocations: 2.045 MB / 1.472 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/4.177, allocations: 214.1 kB / 1.472 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/4.179, allocations: 0.79 MB / 1.473 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002692/4.179, allocations: 37.7 kB / 1.473 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/4.18, allocations: 438.4 kB / 1.473 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/4.18, allocations: 209 kB / 1.473 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/4.18, allocations: 16 kB / 1.473 GB, free: 11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/4.18, allocations: 354.7 kB / 1.474 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/4.181, allocations: 385.8 kB / 1.474 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/4.183, allocations: 0.571 MB / 1.475 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/4.184, allocations: 470.1 kB / 1.475 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/4.184, allocations: 4 kB / 1.475 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003477/4.188, allocations: 1.204 MB / 1.476 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/4.188, allocations: 1.749 MB / 1.478 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/4.188, allocations: 4 kB / 1.478 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008537/4.197, allocations: 0.8312 MB / 1.479 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/4.198, allocations: 159.8 kB / 1.479 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/4.2, allocations: 1.188 MB / 1.48 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/4.202, allocations: 63.95 kB / 1.48 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/4.202, allocations: 71.97 kB / 1.48 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/4.202, allocations: 4 kB / 1.48 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003888/4.206, allocations: 1.059 MB / 1.481 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/4.206, allocations: 8.031 kB / 1.481 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/4.208, allocations: 148.7 kB / 1.481 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/4.209, allocations: 183.8 kB / 1.482 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3937/4.603, allocations: 2.184 MB / 1.484 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/4.605, allocations: 51.33 kB / 1.484 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/4.605, allocations: 69.75 kB / 1.484 GB, free: 65.76 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.0009452/4.606, allocations: 353 kB / 1.484 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/4.606, allocations: 104.5 kB / 1.484 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/4.612, allocations: 1.33 MB / 1.486 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/4.612, allocations: 8.109 kB / 1.486 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/4.612, allocations: 0 / 1.486 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/4.612, allocations: 5.266 kB / 1.486 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/4.618, allocations: 1.969 MB / 1.488 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/4.618, allocations: 2.156 kB / 1.488 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/4.619, allocations: 88.84 kB / 1.488 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006195/4.625, allocations: 0.6919 MB / 1.488 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/4.625, allocations: 24.16 kB / 1.488 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/4.628, allocations: 1.178 MB / 1.49 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/4.628, allocations: 1.531 kB / 1.49 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/4.632, allocations: 1.198 MB / 1.491 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/4.632, allocations: 183.7 kB / 1.491 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/4.633, allocations: 14.39 kB / 1.491 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/4.634, allocations: 52.2 kB / 1.491 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/4.634, allocations: 53.94 kB / 1.491 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/4.634, allocations: 49.11 kB / 1.491 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001417/4.636, allocations: 0.6185 MB / 1.492 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/4.636, allocations: 2.031 kB / 1.492 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005627/4.642, allocations: 1.226 MB / 1.493 GB, free: 64.02 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.009642/4.651, allocations: 3.852 MB / 1.497 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00527/4.657, allocations: 1.552 MB / 1.498 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/4.657, allocations: 1.344 kB / 1.498 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/4.658, allocations: 424.2 kB / 1.499 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/4.663, allocations: 0.5464 MB / 1.499 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/4.671, allocations: 5.874 MB / 1.505 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/4.672, allocations: 1.072 MB / 1.506 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/4.673, allocations: 374.9 kB / 1.506 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/4.673, allocations: 0 / 1.506 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.701/8.374, allocations: 34.95 MB / 1.54 GB, free: 56.14 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat