Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.002035/0.002035, allocations: 177.6 kB / 8.002 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 1.797/1.797, 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.001298/0.001298, allocations: 87.97 kB / 261.7 MB, free: 1.684 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.2935/0.2935, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.749, allocations: 0.5784 GB / 1.044 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.75, allocations: 95.23 kB / 1.044 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7446/2.494, allocations: 224.8 MB / 1.264 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/2.495, allocations: 0 / 1.264 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.668e-05/2.495, allocations: 16 kB / 1.264 GB, free: 30.6 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001886/2.496, allocations: 0.9329 MB / 1.265 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/2.497, allocations: 8.031 kB / 1.265 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/2.497, allocations: 139.2 kB / 1.265 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/2.498, allocations: 498.8 kB / 1.266 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/2.498, allocations: 16 kB / 1.266 GB, free: 28.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/2.498, allocations: 24 kB / 1.266 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005698/2.499, allocations: 398.5 kB / 1.266 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/2.499, allocations: 0.4927 MB / 1.266 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/2.499, allocations: 0 / 1.266 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/2.5, allocations: 0 / 1.266 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/2.5, allocations: 12 kB / 1.266 GB, free: 27.97 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.002812/2.502, allocations: 2.616 MB / 1.269 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/2.503, allocations: 246.8 kB / 1.269 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/2.503, allocations: 124.8 kB / 1.269 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/2.503, allocations: 325.5 kB / 1.27 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/2.503, allocations: 38.56 kB / 1.27 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.827e-06/2.503, allocations: 0 / 1.27 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002435/2.506, allocations: 0.7712 MB / 1.27 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/2.506, allocations: 132.5 kB / 1.271 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/2.506, allocations: 381.1 kB / 1.271 GB, free: 23.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/2.506, allocations: 29.7 kB / 1.271 GB, free: 23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/2.507, allocations: 295.5 kB / 1.271 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/2.507, allocations: 102.5 kB / 1.271 GB, free: 22.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/2.507, allocations: 0 / 1.271 GB, free: 22.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/2.507, allocations: 354.8 kB / 1.272 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/2.507, allocations: 157.1 kB / 1.272 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/2.507, allocations: 284.2 kB / 1.272 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/2.509, allocations: 0.6379 MB / 1.273 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/2.509, allocations: 3.953 kB / 1.273 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002529/2.512, allocations: 0.9863 MB / 1.274 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/2.512, allocations: 4 kB / 1.274 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/2.512, allocations: 4 kB / 1.274 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/2.512, allocations: 53.27 kB / 1.274 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/2.513, allocations: 143.8 kB / 1.274 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3839/2.897, allocations: 28.2 MB / 1.301 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/2.897, allocations: 52.05 kB / 1.301 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/2.897, allocations: 49.28 kB / 1.302 GB, free: 88.75 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real 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.0003692/2.898, allocations: 152.9 kB / 1.302 GB, free: 88.65 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00284/2.901, allocations: 0.7704 MB / 1.302 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/2.901, allocations: 54.75 kB / 1.302 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/2.902, allocations: 0.6189 MB / 1.303 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/2.902, allocations: 3.938 kB / 1.303 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.902, allocations: 6.719 kB / 1.303 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.902, allocations: 3.797 kB / 1.303 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/2.904, allocations: 1.116 MB / 1.304 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/2.904, allocations: 0 / 1.304 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/2.905, allocations: 51.28 kB / 1.304 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/2.905, allocations: 50.38 kB / 1.304 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/2.905, allocations: 7.875 kB / 1.304 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000428/2.905, allocations: 0.6135 MB / 1.305 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.905, allocations: 6.688 kB / 1.305 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/2.906, allocations: 0.6175 MB / 1.305 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/2.906, allocations: 151.9 kB / 1.306 GB, free: 87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/2.907, allocations: 7.516 kB / 1.306 GB, free: 87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/2.907, allocations: 29.66 kB / 1.306 GB, free: 87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/2.907, allocations: 22.02 kB / 1.306 GB, free: 87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/2.907, allocations: 18.42 kB / 1.306 GB, free: 87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003157/2.907, allocations: 314.1 kB / 1.306 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.453e-06/2.907, allocations: 0 / 1.306 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002365/2.91, allocations: 404.3 kB / 1.306 GB, free: 86.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.003576/2.913, allocations: 2.842 MB / 1.309 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008819/2.914, allocations: 341.1 kB / 1.31 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/2.914, allocations: 6.938 kB / 1.31 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/2.914, allocations: 122.4 kB / 1.31 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/2.916, allocations: 232.2 kB / 1.31 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/2.917, allocations: 0.7685 MB / 1.311 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/2.918, allocations: 0.8626 MB / 1.311 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008296/2.919, allocations: 188.2 kB / 1.312 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/2.919, allocations: 205.4 kB / 1.312 GB, free: 84.49 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/2.919, allocations: 0 / 1.312 GB, free: 84.49 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/2.976, allocations: 23.3 MB / 1.335 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/2.977, allocations: 202.2 kB / 1.335 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/6.355, allocations: 3.594 kB / 1.335 GB, free: 83.53 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat