Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Orifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.002341/0.002341, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.088/2.088, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001203/0.001203, allocations: 92.42 kB / 270.9 MB, free: 8.387 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.5324/0.5324, allocations: 43.56 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004983, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1501, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.26/2.41, allocations: 0.6127 GB / 1.092 GB, free: 133 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/2.411, allocations: 99.28 kB / 1.092 GB, free: 133 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.317/3.728, allocations: 272 MB / 1.357 GB, free: 69.75 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.094e-06/3.728, allocations: 4 kB / 1.357 GB, free: 69.74 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.407e-05/3.728, allocations: 15.12 kB / 1.357 GB, free: 69.73 MB / 0.4949 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.004193/3.732, allocations: 1.298 MB / 1.359 GB, free: 68.39 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/3.732, allocations: 8.031 kB / 1.359 GB, free: 68.38 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/3.733, allocations: 90.52 kB / 1.359 GB, free: 68.28 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/3.734, allocations: 159.1 kB / 1.359 GB, free: 68.12 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/3.736, allocations: 496.6 kB / 1.359 GB, free: 67.6 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/3.736, allocations: 33 kB / 1.359 GB, free: 67.57 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/3.736, allocations: 44 kB / 1.359 GB, free: 67.52 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/3.737, allocations: 0.6502 MB / 1.36 GB, free: 66.82 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/3.738, allocations: 0 / 1.36 GB, free: 66.82 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/3.738, allocations: 27.95 kB / 1.36 GB, free: 66.79 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/3.738, allocations: 16 kB / 1.36 GB, free: 66.77 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/3.739, allocations: 0.4957 MB / 1.361 GB, free: 66.28 MB / 0.4949 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.004528/3.744, allocations: 2.637 MB / 1.363 GB, free: 63.45 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/3.745, allocations: 315.8 kB / 1.363 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/3.745, allocations: 325.2 kB / 1.364 GB, free: 62.77 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/3.745, allocations: 42.5 kB / 1.364 GB, free: 62.71 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=35): time 3.006e-06/3.745, allocations: 0 / 1.364 GB, free: 62.71 MB / 0.4949 GB Notification: Performance of matching and sorting (n=35): time 0.002505/3.748, allocations: 0.6905 MB / 1.364 GB, free: 62 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/3.748, allocations: 166.2 kB / 1.365 GB, free: 61.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/3.749, allocations: 462.1 kB / 1.365 GB, free: 61.34 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/3.749, allocations: 33.7 kB / 1.365 GB, free: 61.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/3.749, allocations: 330.1 kB / 1.365 GB, free: 60.97 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/3.749, allocations: 134.1 kB / 1.366 GB, free: 60.84 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/3.749, allocations: 11.94 kB / 1.366 GB, free: 60.83 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/3.749, allocations: 330.8 kB / 1.366 GB, free: 60.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/3.75, allocations: 141 kB / 1.366 GB, free: 60.36 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/3.75, allocations: 315.4 kB / 1.366 GB, free: 59.98 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/3.751, allocations: 200.1 kB / 1.366 GB, free: 59.79 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/3.751, allocations: 4 kB / 1.366 GB, free: 59.78 MB / 0.4949 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001495/3.752, allocations: 0.521 MB / 1.367 GB, free: 59.25 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/3.752, allocations: 8.625 kB / 1.367 GB, free: 59.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/3.752, allocations: 8 kB / 1.367 GB, free: 59.23 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/3.755, allocations: 232.6 kB / 1.367 GB, free: 59 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/3.755, allocations: 123.8 kB / 1.367 GB, free: 58.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000586/3.756, allocations: 0.5875 MB / 1.368 GB, free: 58.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008601/3.757, allocations: 67.41 kB / 1.368 GB, free: 58.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/3.757, allocations: 56.02 kB / 1.368 GB, free: 58.15 MB / 0.4949 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.0004404/3.758, allocations: 193.8 kB / 1.368 GB, free: 57.95 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/3.758, allocations: 67.23 kB / 1.368 GB, free: 57.88 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/3.76, allocations: 0.7069 MB / 1.369 GB, free: 57.16 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/3.76, allocations: 8 kB / 1.369 GB, free: 57.15 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/3.76, allocations: 0 / 1.369 GB, free: 57.15 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/3.76, allocations: 3.984 kB / 1.369 GB, free: 57.14 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/3.762, allocations: 0.9603 MB / 1.37 GB, free: 56.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/3.762, allocations: 4 kB / 1.37 GB, free: 56.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/3.763, allocations: 43.97 kB / 1.37 GB, free: 56.06 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/3.765, allocations: 236.7 kB / 1.37 GB, free: 55.82 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/3.765, allocations: 11.98 kB / 1.37 GB, free: 55.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/3.766, allocations: 0.5836 MB / 1.371 GB, free: 55.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/3.766, allocations: 3.953 kB / 1.371 GB, free: 55.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/3.767, allocations: 0.5353 MB / 1.371 GB, free: 54.59 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/3.767, allocations: 160.2 kB / 1.371 GB, free: 54.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/3.767, allocations: 11.98 kB / 1.371 GB, free: 54.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/3.768, allocations: 27.92 kB / 1.372 GB, free: 54.37 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/3.768, allocations: 39.72 kB / 1.372 GB, free: 54.33 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/3.768, allocations: 15.98 kB / 1.372 GB, free: 54.32 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0007166/3.769, allocations: 410.8 kB / 1.372 GB, free: 53.92 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.7e-07/3.769, allocations: 0 / 1.372 GB, free: 53.92 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002041/3.771, allocations: 435.5 kB / 1.372 GB, free: 53.49 MB / 0.4949 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.004317/3.775, allocations: 2.687 MB / 1.375 GB, free: 50.75 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001339/3.777, allocations: 356.6 kB / 1.375 GB, free: 50.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/3.777, allocations: 128 / 1.375 GB, free: 50.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/3.777, allocations: 139.8 kB / 1.375 GB, free: 50.26 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/3.78, allocations: 333.1 kB / 1.376 GB, free: 49.94 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/3.788, allocations: 6.293 MB / 1.382 GB, free: 43.48 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/3.788, allocations: 0.879 MB / 1.383 GB, free: 42.57 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/3.789, allocations: 243.3 kB / 1.383 GB, free: 42.33 MB / 0.4949 GB Notification: Performance of SimCode: time 1.122e-06/3.789, allocations: 0 / 1.383 GB, free: 42.33 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.383/7.172, allocations: 22.31 MB / 1.405 GB, free: 20.02 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat