Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.001496/0.0015, allocations: 186.1 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.191/2.191, 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.001196/0.001196, allocations: 96.41 kB / 270.9 MB, free: 8.367 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.5267/0.5267, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.337/2.477, allocations: 0.6357 GB / 1.114 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/2.477, allocations: 91.91 kB / 1.115 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.253/4.73, allocations: 420.4 MB / 1.525 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/4.73, allocations: 0 / 1.525 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001275/4.73, allocations: 29.72 kB / 1.525 GB, free: 56.19 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008709/4.739, allocations: 2.046 MB / 1.527 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/4.739, allocations: 10.62 kB / 1.527 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006128/4.74, allocations: 132.8 kB / 1.527 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/4.742, allocations: 220.6 kB / 1.528 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/4.745, allocations: 0.8707 MB / 1.528 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/4.745, allocations: 63.11 kB / 1.528 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/4.746, allocations: 72.12 kB / 1.528 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/4.75, allocations: 1.248 MB / 1.53 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/4.75, allocations: 4.5 kB / 1.53 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/4.75, allocations: 32.66 kB / 1.53 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/4.75, allocations: 81.25 kB / 1.53 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004297/4.755, allocations: 1.228 MB / 1.531 GB, free: 54.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.0126/4.767, allocations: 4.866 MB / 1.536 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/4.769, allocations: 0.7247 MB / 1.536 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/4.77, allocations: 324.5 kB / 1.537 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/4.77, allocations: 53.62 kB / 1.537 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.437e-06/4.77, allocations: 0 / 1.537 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.01385/4.784, allocations: 2.806 MB / 1.54 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/4.784, allocations: 216.6 kB / 1.54 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/4.786, allocations: 0.8365 MB / 1.541 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/4.786, allocations: 37.73 kB / 1.541 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/4.786, allocations: 474.4 kB / 1.541 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/4.787, allocations: 260.4 kB / 1.541 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/4.787, allocations: 15.03 kB / 1.541 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001015/4.787, allocations: 351.4 kB / 1.542 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/4.788, allocations: 408.7 kB / 1.542 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/4.79, allocations: 0.6385 MB / 1.543 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/4.792, allocations: 0.4976 MB / 1.543 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/4.792, allocations: 2.031 kB / 1.543 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004436/4.796, allocations: 1.345 MB / 1.544 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/4.797, allocations: 2.18 MB / 1.547 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/4.797, allocations: 10.55 kB / 1.547 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/4.803, allocations: 0.7152 MB / 1.547 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/4.804, allocations: 177.4 kB / 1.548 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/4.807, allocations: 1.28 MB / 1.549 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/4.809, allocations: 73.53 kB / 1.549 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/4.809, allocations: 94.38 kB / 1.549 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/4.809, allocations: 5.594 kB / 1.549 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003753/4.813, allocations: 1.171 MB / 1.55 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/4.813, allocations: 3.906 kB / 1.55 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/4.816, allocations: 342.1 kB / 1.55 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/4.817, allocations: 202.6 kB / 1.551 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/4.819, allocations: 0.9509 MB / 1.552 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/4.82, allocations: 70.83 kB / 1.552 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/4.82, allocations: 92.59 kB / 1.552 GB, free: 46.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0009589/4.821, allocations: 364 kB / 1.552 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/4.822, allocations: 109.3 kB / 1.552 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/4.827, allocations: 1.36 MB / 1.553 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/4.827, allocations: 7.375 kB / 1.553 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/4.827, allocations: 3.594 kB / 1.553 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/4.827, allocations: 7.453 kB / 1.553 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/4.833, allocations: 2.112 MB / 1.556 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/4.833, allocations: 0 / 1.556 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/4.834, allocations: 180.5 kB / 1.556 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/4.834, allocations: 26.58 kB / 1.556 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/4.835, allocations: 30.45 kB / 1.556 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/4.836, allocations: 1.287 MB / 1.557 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/4.836, allocations: 2.625 kB / 1.557 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/4.84, allocations: 1.665 MB / 1.559 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/4.841, allocations: 186.5 kB / 1.559 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/4.842, allocations: 18.62 kB / 1.559 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/4.843, allocations: 60.83 kB / 1.559 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/4.843, allocations: 67.56 kB / 1.559 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/4.844, allocations: 72.39 kB / 1.559 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001442/4.845, allocations: 0.6512 MB / 1.56 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/4.845, allocations: 0.6562 kB / 1.56 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006018/4.851, allocations: 1.279 MB / 1.561 GB, free: 44.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/4.863, allocations: 4.496 MB / 1.565 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005225/4.868, allocations: 1.581 MB / 1.567 GB, free: 42.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/4.868, allocations: 0 / 1.567 GB, free: 42.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/4.87, allocations: 0.5577 MB / 1.567 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/4.875, allocations: 0.5769 MB / 1.568 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/4.885, allocations: 7.085 MB / 1.575 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/4.887, allocations: 1.102 MB / 1.576 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/4.889, allocations: 487.1 kB / 1.576 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/4.889, allocations: 0 / 1.576 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.588/8.477, allocations: 39.49 MB / 1.615 GB, free: 49.55 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat