Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001816/0.001816, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.075/2.075, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 90.28 kB / 261.8 MB, free: 1.676 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.2965/0.2965, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.892e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.645/1.791, allocations: 0.5962 GB / 1.062 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.791, allocations: 89.17 kB / 1.062 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.166/2.957, allocations: 277.4 MB / 1.333 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/2.957, allocations: 2.719 kB / 1.333 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.912e-05/2.957, allocations: 17.72 kB / 1.333 GB, free: 95.34 MB / 0.4948 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.003688/2.961, allocations: 1.237 MB / 1.334 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/2.961, allocations: 10.66 kB / 1.334 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/2.962, allocations: 159 kB / 1.335 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/2.963, allocations: 497.2 kB / 1.335 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/2.963, allocations: 14.19 kB / 1.335 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/2.963, allocations: 24.34 kB / 1.335 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000647/2.964, allocations: 438.7 kB / 1.335 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/2.964, allocations: 0.5452 MB / 1.336 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/2.964, allocations: 0 / 1.336 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/2.965, allocations: 3.625 kB / 1.336 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/2.965, allocations: 13.88 kB / 1.336 GB, free: 94.23 MB / 0.4948 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.002477/2.967, allocations: 2.587 MB / 1.339 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/2.967, allocations: 220.1 kB / 1.339 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/2.968, allocations: 125.2 kB / 1.339 GB, free: 92.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/2.968, allocations: 322.6 kB / 1.339 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/2.968, allocations: 42.16 kB / 1.339 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/2.968, allocations: 0 / 1.339 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.00242/2.97, allocations: 0.7678 MB / 1.34 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/2.97, allocations: 162.1 kB / 1.34 GB, free: 92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/2.971, allocations: 385.6 kB / 1.341 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/2.971, allocations: 28.86 kB / 1.341 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/2.971, allocations: 320.6 kB / 1.341 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/2.971, allocations: 110.1 kB / 1.341 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/2.971, allocations: 0 / 1.341 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/2.971, allocations: 353.2 kB / 1.341 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/2.971, allocations: 125.4 kB / 1.341 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/2.972, allocations: 292.8 kB / 1.342 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/2.974, allocations: 0.6035 MB / 1.342 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/2.974, allocations: 3.875 kB / 1.342 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002404/2.976, allocations: 0.9207 MB / 1.343 GB, free: 91.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/2.976, allocations: 14.17 kB / 1.343 GB, free: 91.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.976, allocations: 7.062 kB / 1.343 GB, free: 91.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/2.976, allocations: 49.27 kB / 1.343 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/2.977, allocations: 122 kB / 1.343 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004741/2.977, allocations: 0.6054 MB / 1.344 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/2.978, allocations: 53.75 kB / 1.344 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/2.978, allocations: 52.02 kB / 1.344 GB, free: 90.48 MB / 0.4948 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.0001197/2.978, allocations: 118.5 kB / 1.344 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002173/2.98, allocations: 0.7857 MB / 1.345 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/2.98, allocations: 50.66 kB / 1.345 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/2.982, allocations: 0.6026 MB / 1.346 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/2.982, allocations: 3.312 kB / 1.346 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.982, allocations: 7.25 kB / 1.346 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/2.982, allocations: 3.953 kB / 1.346 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/2.983, allocations: 1.132 MB / 1.347 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/2.983, allocations: 3.844 kB / 1.347 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/2.983, allocations: 54.52 kB / 1.347 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/2.984, allocations: 40.73 kB / 1.347 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/2.984, allocations: 17.12 kB / 1.347 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/2.984, allocations: 0.5982 MB / 1.347 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.984, allocations: 3.25 kB / 1.347 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/2.985, allocations: 0.6333 MB / 1.348 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/2.985, allocations: 147.4 kB / 1.348 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/2.985, allocations: 7.375 kB / 1.348 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/2.986, allocations: 23.05 kB / 1.348 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/2.986, allocations: 31.19 kB / 1.348 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/2.986, allocations: 22.91 kB / 1.348 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003136/2.986, allocations: 323.4 kB / 1.349 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.8e-07/2.986, allocations: 0 / 1.349 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001721/2.988, allocations: 466.8 kB / 1.349 GB, free: 88.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.003664/2.992, allocations: 3.131 MB / 1.352 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006787/2.992, allocations: 327.1 kB / 1.352 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/2.992, allocations: 0 / 1.352 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/2.992, allocations: 124.6 kB / 1.352 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/2.994, allocations: 261.2 kB / 1.353 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/2.996, allocations: 0.8189 MB / 1.354 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/2.996, allocations: 0.8765 MB / 1.354 GB, free: 85.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008556/2.997, allocations: 197 kB / 1.355 GB, free: 85.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/2.997, allocations: 222.6 kB / 1.355 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/2.997, allocations: 0 / 1.355 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/3.05, allocations: 25.71 MB / 1.38 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/3.05, allocations: 192.6 kB / 1.38 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/5.939, allocations: 0 / 1.38 GB, free: 83.37 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat