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.002351/0.002351, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 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: 88.34 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3814/0.3814, allocations: 43.48 MB / 353.5 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.228e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4208, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.957/2.378, allocations: 0.5983 GB / 1.064 GB, free: 134.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/2.378, allocations: 80.61 kB / 1.064 GB, free: 134.8 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.06/4.438, allocations: 345.5 MB / 1.402 GB, free: 64.56 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.866e-06/4.438, allocations: 0 / 1.402 GB, free: 64.56 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001322/4.438, allocations: 27.55 kB / 1.402 GB, free: 64.56 MB / 0.4952 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.006958/4.445, allocations: 1.56 MB / 1.403 GB, free: 64.15 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/4.445, allocations: 12.69 kB / 1.403 GB, free: 64.15 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/4.447, allocations: 201 kB / 1.404 GB, free: 64.1 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/4.451, allocations: 0.8066 MB / 1.404 GB, free: 63.85 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/4.451, allocations: 26.41 kB / 1.404 GB, free: 63.85 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/4.451, allocations: 39.91 kB / 1.404 GB, free: 63.85 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002849/4.454, allocations: 0.9744 MB / 1.405 GB, free: 63.84 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/4.457, allocations: 1.036 MB / 1.406 GB, free: 63.67 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/4.457, allocations: 0 / 1.406 GB, free: 63.67 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/4.457, allocations: 6.969 kB / 1.406 GB, free: 63.67 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/4.458, allocations: 79.12 kB / 1.406 GB, free: 63.66 MB / 0.4952 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.01333/4.471, allocations: 4.332 MB / 1.411 GB, free: 61.91 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/4.473, allocations: 0.6367 MB / 1.411 GB, free: 61.89 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/4.474, allocations: 295.5 kB / 1.412 GB, free: 61.88 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/4.475, allocations: 326 kB / 1.412 GB, free: 61.59 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/4.475, allocations: 43.41 kB / 1.412 GB, free: 61.55 MB / 0.4952 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001361/4.476, allocations: 96.05 kB / 1.412 GB, free: 61.54 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=49): time 4.058e-06/4.476, allocations: 0 / 1.412 GB, free: 61.54 MB / 0.4952 GB Notification: Performance of matching and sorting (n=49): time 0.004297/4.48, allocations: 0.9401 MB / 1.413 GB, free: 61.45 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/4.481, allocations: 212.5 kB / 1.413 GB, free: 61.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/4.482, allocations: 0.6524 MB / 1.414 GB, free: 61.08 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/4.482, allocations: 27.8 kB / 1.414 GB, free: 61.05 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/4.483, allocations: 0.4908 MB / 1.414 GB, free: 60.78 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/4.483, allocations: 175.4 kB / 1.414 GB, free: 60.7 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/4.483, allocations: 0 / 1.414 GB, free: 60.7 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001092/4.483, allocations: 347 kB / 1.415 GB, free: 60.38 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009822/4.484, allocations: 358 kB / 1.415 GB, free: 60.38 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/4.485, allocations: 0.5431 MB / 1.416 GB, free: 60.17 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/4.502, allocations: 1.864 MB / 1.417 GB, free: 60.16 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/4.502, allocations: 1.25 kB / 1.417 GB, free: 60.16 MB / 0.4952 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01868/4.521, allocations: 2.556 MB / 1.42 GB, free: 60.09 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004563/4.522, allocations: 1.748 MB / 1.422 GB, free: 58.28 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/4.522, allocations: 7.25 kB / 1.422 GB, free: 58.28 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/4.528, allocations: 0.6116 MB / 1.422 GB, free: 58.27 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/4.529, allocations: 162.5 kB / 1.422 GB, free: 58.27 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/4.533, allocations: 1.336 MB / 1.424 GB, free: 57.74 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/4.535, allocations: 44.78 kB / 1.424 GB, free: 57.74 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/4.535, allocations: 70.86 kB / 1.424 GB, free: 57.74 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/4.535, allocations: 7.953 kB / 1.424 GB, free: 57.73 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01842/4.554, allocations: 2.33 MB / 1.426 GB, free: 57.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/4.554, allocations: 8.797 kB / 1.426 GB, free: 57.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/4.555, allocations: 134.6 kB / 1.426 GB, free: 57.69 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/4.556, allocations: 195 kB / 1.426 GB, free: 57.69 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/4.56, allocations: 2.041 MB / 1.428 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/4.562, allocations: 41.12 kB / 1.428 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/4.562, allocations: 71.56 kB / 1.429 GB, free: 56.49 MB / 0.4952 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.000428/4.562, allocations: 117.9 kB / 1.429 GB, free: 56.39 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003731/4.566, allocations: 0.9131 MB / 1.43 GB, free: 56.29 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/4.567, allocations: 85.66 kB / 1.43 GB, free: 56.25 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/4.571, allocations: 1.051 MB / 1.431 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/4.571, allocations: 6.906 kB / 1.431 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/4.571, allocations: 3.797 kB / 1.431 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/4.571, allocations: 0 / 1.431 GB, free: 56.16 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/4.576, allocations: 1.716 MB / 1.432 GB, free: 55.86 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/4.576, allocations: 0 / 1.432 GB, free: 55.86 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/4.576, allocations: 59.09 kB / 1.432 GB, free: 55.86 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/4.579, allocations: 477.2 kB / 1.433 GB, free: 55.84 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/4.58, allocations: 10.08 kB / 1.433 GB, free: 55.84 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/4.583, allocations: 1.284 MB / 1.434 GB, free: 55.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/4.583, allocations: 0 / 1.434 GB, free: 55.3 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/4.586, allocations: 1.025 MB / 1.435 GB, free: 55.06 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/4.586, allocations: 174.2 kB / 1.435 GB, free: 54.92 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/4.587, allocations: 2.156 kB / 1.435 GB, free: 54.92 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/4.588, allocations: 43.95 kB / 1.435 GB, free: 54.92 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/4.588, allocations: 44.09 kB / 1.435 GB, free: 54.92 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-05/4.588, allocations: 28.17 kB / 1.435 GB, free: 54.92 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0008837/4.589, allocations: 0.5017 MB / 1.436 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.41e-07/4.589, allocations: 0 / 1.436 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004987/4.594, allocations: 1.198 MB / 1.437 GB, free: 54.65 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.009441/4.604, allocations: 3.593 MB / 1.441 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.003941/4.608, allocations: 1.387 MB / 1.442 GB, free: 53.39 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/4.608, allocations: 0 / 1.442 GB, free: 53.39 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/4.609, allocations: 336.6 kB / 1.442 GB, free: 53.38 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/4.612, allocations: 431.3 kB / 1.443 GB, free: 53.37 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/4.618, allocations: 1.68 MB / 1.444 GB, free: 52.83 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/4.62, allocations: 1.063 MB / 1.445 GB, free: 68.12 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/4.621, allocations: 361.4 kB / 1.446 GB, free: 68.12 MB / 0.5108 GB Notification: Performance of SimCode: time 1.172e-06/4.621, allocations: 0 / 1.446 GB, free: 68.12 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.66/8.281, allocations: 34.06 MB / 1.479 GB, free: 66.48 MB / 0.5108 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