Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.00218/0.002179, allocations: 182.1 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.106/2.106, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001114/0.001113, allocations: 78.75 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.2948/0.2948, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.215e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.958/2.08, allocations: 0.579 GB / 1.052 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/2.081, allocations: 98.36 kB / 1.052 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.157/3.238, allocations: 227.5 MB / 1.274 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.804e-06/3.238, allocations: 0 / 1.274 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.151e-05/3.238, allocations: 20 kB / 1.274 GB, free: 45.73 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002837/3.241, allocations: 0.9132 MB / 1.275 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/3.241, allocations: 12.03 kB / 1.275 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/3.241, allocations: 86.47 kB / 1.275 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/3.243, allocations: 139.2 kB / 1.275 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/3.244, allocations: 492.6 kB / 1.276 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/3.244, allocations: 33 kB / 1.276 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/3.244, allocations: 40 kB / 1.276 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/3.246, allocations: 0.5888 MB / 1.276 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/3.246, allocations: 0 / 1.276 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/3.246, allocations: 20 kB / 1.276 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/3.246, allocations: 12 kB / 1.276 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/3.247, allocations: 454.8 kB / 1.277 GB, free: 42.83 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.004073/3.251, allocations: 2.662 MB / 1.28 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/3.252, allocations: 308.9 kB / 1.28 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/3.253, allocations: 141.4 kB / 1.28 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004177/3.253, allocations: 326 kB / 1.28 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/3.253, allocations: 46.78 kB / 1.28 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/3.253, allocations: 0 / 1.28 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.00156/3.255, allocations: 443.9 kB / 1.281 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/3.255, allocations: 132.5 kB / 1.281 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/3.256, allocations: 439.9 kB / 1.281 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/3.256, allocations: 33.7 kB / 1.281 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/3.256, allocations: 314.5 kB / 1.282 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.256, allocations: 126.3 kB / 1.282 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/3.256, allocations: 4 kB / 1.282 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/3.256, allocations: 330.8 kB / 1.282 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/3.257, allocations: 169.1 kB / 1.282 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/3.257, allocations: 297.3 kB / 1.282 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/3.258, allocations: 217.5 kB / 1.283 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/3.258, allocations: 0 / 1.283 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001501/3.259, allocations: 0.5536 MB / 1.283 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/3.259, allocations: 8 kB / 1.283 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/3.259, allocations: 4 kB / 1.283 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/3.261, allocations: 241 kB / 1.283 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/3.263, allocations: 147.8 kB / 1.284 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009127/3.272, allocations: 28.72 MB / 1.312 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/3.273, allocations: 67.5 kB / 1.312 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/3.273, allocations: 47.98 kB / 1.312 GB, free: 4.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0002104/3.273, allocations: 140.8 kB / 1.312 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/3.273, allocations: 55.34 kB / 1.312 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/3.275, allocations: 0.6532 MB / 1.313 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/3.275, allocations: 0 / 1.313 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/3.276, allocations: 11.95 kB / 1.313 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/3.276, allocations: 3.984 kB / 1.313 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/3.277, allocations: 0.9204 MB / 1.314 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/3.278, allocations: 4 kB / 1.314 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/3.278, allocations: 59.8 kB / 1.314 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/3.28, allocations: 232.8 kB / 1.314 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/3.28, allocations: 11.98 kB / 1.314 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005083/3.281, allocations: 0.5837 MB / 1.314 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/3.281, allocations: 8 kB / 1.314 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/3.282, allocations: 0.5042 MB / 1.315 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/3.282, allocations: 156.3 kB / 1.315 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/3.282, allocations: 8 kB / 1.315 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/3.283, allocations: 35.97 kB / 1.315 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/3.283, allocations: 23.91 kB / 1.315 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/3.283, allocations: 19.98 kB / 1.315 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006722/3.284, allocations: 377.5 kB / 1.315 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/3.284, allocations: 0 / 1.315 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002575/3.286, allocations: 427.5 kB / 1.316 GB, free: 336 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.3861/3.672, allocations: 2.447 MB / 1.318 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001474/3.674, allocations: 370.6 kB / 1.319 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/3.674, allocations: 2.562 kB / 1.319 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/3.674, allocations: 129 kB / 1.319 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/3.677, allocations: 276.2 kB / 1.319 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/3.68, allocations: 0.8316 MB / 1.32 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/3.68, allocations: 0.8616 MB / 1.321 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/3.681, allocations: 234.8 kB / 1.321 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/3.681, allocations: 0 / 1.321 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.444/7.125, allocations: 30.96 MB / 1.351 GB, free: 107 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat