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.001527/0.001526, allocations: 181.7 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.098/2.098, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001101/0.0011, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2964/0.2964, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.158e-05, allocations: 7.984 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.846/1.964, allocations: 0.5968 GB / 1.07 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.964, allocations: 93.31 kB / 1.07 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/3.704, allocations: 280.4 MB / 1.344 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/3.704, allocations: 0 / 1.344 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.485e-05/3.704, allocations: 16.66 kB / 1.344 GB, free: 98.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004645/3.709, allocations: 1.241 MB / 1.345 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.6e-05/3.709, allocations: 13.28 kB / 1.345 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/3.709, allocations: 85.81 kB / 1.345 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/3.711, allocations: 154 kB / 1.345 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/3.713, allocations: 0.4914 MB / 1.346 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/3.713, allocations: 35.52 kB / 1.346 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/3.713, allocations: 44.34 kB / 1.346 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/3.715, allocations: 0.6302 MB / 1.346 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/3.715, allocations: 2.812 kB / 1.346 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/3.715, allocations: 21.72 kB / 1.346 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/3.715, allocations: 11 kB / 1.346 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/3.717, allocations: 493.1 kB / 1.347 GB, free: 97.29 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.004891/3.721, allocations: 2.616 MB / 1.349 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/3.722, allocations: 295.1 kB / 1.35 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/3.723, allocations: 151.2 kB / 1.35 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/3.723, allocations: 325.3 kB / 1.35 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/3.723, allocations: 44.34 kB / 1.35 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.856e-06/3.723, allocations: 2.156 kB / 1.35 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001752/3.725, allocations: 451.9 kB / 1.351 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/3.725, allocations: 161.1 kB / 1.351 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/3.726, allocations: 461.8 kB / 1.351 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/3.726, allocations: 34.67 kB / 1.351 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/3.727, allocations: 332.2 kB / 1.352 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/3.727, allocations: 123.6 kB / 1.352 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/3.727, allocations: 10.12 kB / 1.352 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/3.727, allocations: 326.7 kB / 1.352 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/3.727, allocations: 138.7 kB / 1.352 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/3.728, allocations: 304.3 kB / 1.352 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/3.728, allocations: 187 kB / 1.353 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/3.728, allocations: 2.906 kB / 1.353 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001695/3.73, allocations: 0.5072 MB / 1.353 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/3.73, allocations: 11.06 kB / 1.353 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/3.73, allocations: 7.438 kB / 1.353 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/3.733, allocations: 229.7 kB / 1.353 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/3.734, allocations: 124.9 kB / 1.353 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/3.735, allocations: 0.5919 MB / 1.354 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/3.736, allocations: 64 kB / 1.354 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/3.737, allocations: 56.59 kB / 1.354 GB, free: 93.49 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 () * 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.0002983/3.737, allocations: 142.2 kB / 1.354 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/3.737, allocations: 58.5 kB / 1.354 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/3.741, allocations: 0.6834 MB / 1.355 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/3.741, allocations: 3.969 kB / 1.355 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.741, allocations: 0 / 1.355 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/3.741, allocations: 7.469 kB / 1.355 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/3.744, allocations: 0.9307 MB / 1.356 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/3.744, allocations: 3.719 kB / 1.356 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/3.744, allocations: 47.23 kB / 1.356 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/3.747, allocations: 233 kB / 1.356 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/3.747, allocations: 15.33 kB / 1.356 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006658/3.748, allocations: 0.5919 MB / 1.357 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/3.748, allocations: 0 / 1.357 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/3.75, allocations: 0.5225 MB / 1.357 GB, free: 92.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/3.75, allocations: 159.6 kB / 1.357 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/3.75, allocations: 6.656 kB / 1.357 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/3.751, allocations: 33.83 kB / 1.357 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/3.752, allocations: 27.98 kB / 1.358 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/3.752, allocations: 20.81 kB / 1.358 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001055/3.753, allocations: 399.9 kB / 1.358 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.32e-07/3.753, allocations: 0 / 1.358 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003428/3.756, allocations: 496.6 kB / 1.358 GB, free: 91.73 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 (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.006713/3.763, allocations: 2.746 MB / 1.361 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001652/3.765, allocations: 341.8 kB / 1.361 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/3.765, allocations: 0 / 1.361 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/3.765, allocations: 128.2 kB / 1.362 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/3.77, allocations: 335.7 kB / 1.362 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/3.774, allocations: 0.8724 MB / 1.363 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/3.775, allocations: 0.8641 MB / 1.364 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/3.776, allocations: 250.4 kB / 1.364 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/3.776, allocations: 0 / 1.364 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.208/6.984, allocations: 23.37 MB / 1.387 GB, free: 88.16 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