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.002477/0.002477, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.043/2.043, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001127/0.001127, allocations: 86.77 kB / 267.5 MB, free: 14.04 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.3009/0.3009, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.52e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.059/2.183, allocations: 0.599 GB / 1.072 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/2.183, allocations: 90.59 kB / 1.072 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.067/4.25, allocations: 349 MB / 1.413 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.474e-06/4.25, allocations: 0 / 1.413 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001946/4.251, allocations: 22.22 kB / 1.413 GB, free: 94.03 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.008315/4.259, allocations: 1.57 MB / 1.414 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/4.259, allocations: 14.28 kB / 1.414 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006135/4.26, allocations: 111.4 kB / 1.414 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/4.262, allocations: 196.7 kB / 1.415 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/4.266, allocations: 0.8124 MB / 1.415 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/4.267, allocations: 53.38 kB / 1.416 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000517/4.267, allocations: 58.92 kB / 1.416 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/4.271, allocations: 1.128 MB / 1.417 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/4.271, allocations: 3.125 kB / 1.417 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/4.272, allocations: 33.58 kB / 1.417 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/4.272, allocations: 75.7 kB / 1.417 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/4.276, allocations: 1.117 MB / 1.418 GB, free: 92.05 MB / 0.5105 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.01623/4.292, allocations: 4.353 MB / 1.422 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/4.296, allocations: 0.7526 MB / 1.423 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/4.297, allocations: 345.6 kB / 1.423 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/4.298, allocations: 321.1 kB / 1.423 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/4.298, allocations: 39 kB / 1.424 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001961/4.3, allocations: 128.1 kB / 1.424 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 8.907e-06/4.3, allocations: 3.438 kB / 1.424 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.006823/4.307, allocations: 1.076 MB / 1.425 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/4.307, allocations: 216 kB / 1.425 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/4.31, allocations: 0.7713 MB / 1.426 GB, free: 87.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003186/4.31, allocations: 36.8 kB / 1.426 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/4.311, allocations: 444.6 kB / 1.426 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/4.311, allocations: 213.8 kB / 1.426 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/4.311, allocations: 15.97 kB / 1.426 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001415/4.312, allocations: 344.1 kB / 1.427 GB, free: 86.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/4.314, allocations: 357.2 kB / 1.427 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/4.315, allocations: 0.5561 MB / 1.428 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/4.316, allocations: 442.8 kB / 1.428 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/4.316, allocations: 0 / 1.428 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00325/4.32, allocations: 1.164 MB / 1.429 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/4.32, allocations: 1.75 MB / 1.431 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/4.32, allocations: 7.812 kB / 1.431 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0089/4.329, allocations: 0.8115 MB / 1.432 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/4.33, allocations: 156.3 kB / 1.432 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/4.333, allocations: 1.187 MB / 1.433 GB, free: 82.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/4.335, allocations: 68.06 kB / 1.433 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/4.335, allocations: 65.95 kB / 1.433 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/4.335, allocations: 3.781 kB / 1.433 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003402/4.338, allocations: 1.024 MB / 1.434 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/4.338, allocations: 10.84 kB / 1.434 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/4.339, allocations: 139.7 kB / 1.434 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/4.341, allocations: 190.8 kB / 1.434 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/4.345, allocations: 2.111 MB / 1.436 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/4.346, allocations: 68.97 kB / 1.437 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/4.346, allocations: 60.95 kB / 1.437 GB, free: 80.45 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 () * 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.0003633/4.347, allocations: 151 kB / 1.437 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/4.347, allocations: 105.7 kB / 1.437 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/4.351, allocations: 1.281 MB / 1.438 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/4.351, allocations: 8 kB / 1.438 GB, free: 79.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/4.351, allocations: 0 / 1.438 GB, free: 79.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/4.351, allocations: 3.984 kB / 1.438 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/4.356, allocations: 1.925 MB / 1.44 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/4.356, allocations: 4 kB / 1.44 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/4.357, allocations: 86 kB / 1.44 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005559/4.362, allocations: 0.6822 MB / 1.441 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/4.363, allocations: 27.98 kB / 1.441 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/4.365, allocations: 1.167 MB / 1.442 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/4.365, allocations: 4 kB / 1.442 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/4.367, allocations: 1.145 MB / 1.443 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/4.368, allocations: 187.6 kB / 1.443 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/4.368, allocations: 16 kB / 1.443 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/4.37, allocations: 55.88 kB / 1.443 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/4.37, allocations: 54.08 kB / 1.443 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/4.37, allocations: 51.91 kB / 1.443 GB, free: 73.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001268/4.371, allocations: 0.6091 MB / 1.444 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.62e-07/4.371, allocations: 0 / 1.444 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005169/4.377, allocations: 1.223 MB / 1.445 GB, free: 71.77 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 () * 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.008576/4.385, allocations: 3.809 MB / 1.449 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004089/4.389, allocations: 1.473 MB / 1.45 GB, free: 66.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/4.389, allocations: 0 / 1.45 GB, free: 66.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/4.39, allocations: 398.3 kB / 1.451 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/4.395, allocations: 0.5427 MB / 1.451 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/4.401, allocations: 1.82 MB / 1.453 GB, free: 64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/4.402, allocations: 1.066 MB / 1.454 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/4.403, allocations: 373.2 kB / 1.454 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/4.403, allocations: 0 / 1.454 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.634/8.037, allocations: 35.18 MB / 1.489 GB, free: 27.77 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