Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.001643/0.001643, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001147/0.001147, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5313/0.5313, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005047, allocations: 19.97 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 58.83 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.327/2.469, allocations: 0.6183 GB / 1.097 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/2.469, allocations: 98.02 kB / 1.097 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.442/3.911, allocations: 284.4 MB / 1.375 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.474e-06/3.911, allocations: 0 / 1.375 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.551e-05/3.912, allocations: 11.06 kB / 1.375 GB, free: 96.82 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004637/3.916, allocations: 1.328 MB / 1.376 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/3.916, allocations: 7.719 kB / 1.376 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002831/3.917, allocations: 91.53 kB / 1.376 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/3.918, allocations: 154.8 kB / 1.376 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/3.92, allocations: 499.9 kB / 1.377 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/3.92, allocations: 35.72 kB / 1.377 GB, free: 95.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/3.92, allocations: 46.06 kB / 1.377 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/3.922, allocations: 0.6536 MB / 1.378 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/3.922, allocations: 7.375 kB / 1.378 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/3.922, allocations: 23.75 kB / 1.378 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/3.922, allocations: 11.75 kB / 1.378 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/3.923, allocations: 0.4923 MB / 1.378 GB, free: 94.9 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.00447/3.928, allocations: 2.612 MB / 1.381 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/3.929, allocations: 320.3 kB / 1.381 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/3.929, allocations: 320.2 kB / 1.381 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/3.929, allocations: 38.44 kB / 1.381 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 5.2e-06/3.929, allocations: 7.156 kB / 1.381 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.002552/3.932, allocations: 0.6933 MB / 1.382 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/3.932, allocations: 163.2 kB / 1.382 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/3.933, allocations: 467.8 kB / 1.383 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/3.933, allocations: 33.58 kB / 1.383 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/3.933, allocations: 327.5 kB / 1.383 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/3.933, allocations: 122.8 kB / 1.383 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/3.933, allocations: 8 kB / 1.383 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/3.933, allocations: 337.5 kB / 1.383 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/3.934, allocations: 140.2 kB / 1.384 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/3.935, allocations: 317 kB / 1.384 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/3.935, allocations: 182.2 kB / 1.384 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/3.935, allocations: 10.62 kB / 1.384 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001543/3.937, allocations: 0.5297 MB / 1.385 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/3.937, allocations: 6.062 kB / 1.385 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/3.937, allocations: 3.969 kB / 1.385 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/3.939, allocations: 247.7 kB / 1.385 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/3.94, allocations: 115.8 kB / 1.385 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005935/3.94, allocations: 0.5905 MB / 1.386 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/3.941, allocations: 68.12 kB / 1.386 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/3.941, allocations: 54.16 kB / 1.386 GB, free: 89.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004436/3.942, allocations: 195 kB / 1.386 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/3.942, allocations: 62.27 kB / 1.386 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/3.944, allocations: 0.7059 MB / 1.387 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/3.944, allocations: 7.844 kB / 1.387 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/3.944, allocations: 0 / 1.387 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/3.945, allocations: 3.047 kB / 1.387 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/3.947, allocations: 0.949 MB / 1.387 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/3.947, allocations: 0 / 1.387 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/3.947, allocations: 55.97 kB / 1.388 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/3.949, allocations: 228 kB / 1.388 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/3.949, allocations: 11.91 kB / 1.388 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004833/3.95, allocations: 0.5901 MB / 1.388 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/3.95, allocations: 3.031 kB / 1.388 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/3.951, allocations: 0.536 MB / 1.389 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/3.951, allocations: 154.9 kB / 1.389 GB, free: 87.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/3.951, allocations: 18.12 kB / 1.389 GB, free: 87.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/3.952, allocations: 30.59 kB / 1.389 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/3.952, allocations: 23.09 kB / 1.389 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/3.952, allocations: 15.62 kB / 1.389 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007267/3.953, allocations: 416.2 kB / 1.39 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/3.953, allocations: 0 / 1.39 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002339/3.955, allocations: 493.2 kB / 1.39 GB, free: 87.08 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 (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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004886/3.96, allocations: 2.754 MB / 1.393 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001334/3.962, allocations: 365.5 kB / 1.393 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/3.962, allocations: 0 / 1.393 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/3.962, allocations: 139.6 kB / 1.393 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/3.965, allocations: 348.7 kB / 1.393 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/3.974, allocations: 6.31 MB / 1.4 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/3.974, allocations: 0.8728 MB / 1.4 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/3.975, allocations: 253.2 kB / 1.401 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/3.975, allocations: 0 / 1.401 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.248/7.223, allocations: 23.45 MB / 1.424 GB, free: 60.52 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat