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.002184/0.002184, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.132/2.132, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 82.67 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/2.008e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4098, allocations: 58.85 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.8/2.21, allocations: 0.5784 GB / 1.044 GB, free: 139.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/2.21, allocations: 99.72 kB / 1.044 GB, free: 139.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/3.32, allocations: 224.8 MB / 1.264 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.034e-06/3.32, allocations: 2.906 kB / 1.264 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.211e-05/3.32, allocations: 19.56 kB / 1.264 GB, free: 100.1 MB / 0.4952 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.002831/3.323, allocations: 0.9261 MB / 1.265 GB, free: 99.56 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/3.323, allocations: 11.41 kB / 1.265 GB, free: 99.56 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/3.325, allocations: 138.7 kB / 1.265 GB, free: 99.53 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/3.326, allocations: 489.9 kB / 1.266 GB, free: 99.3 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/3.326, allocations: 10.88 kB / 1.266 GB, free: 99.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/3.326, allocations: 30.41 kB / 1.266 GB, free: 99.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/3.327, allocations: 403.3 kB / 1.266 GB, free: 99.29 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/3.328, allocations: 0.4955 MB / 1.266 GB, free: 99.14 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/3.328, allocations: 7.688 kB / 1.266 GB, free: 99.14 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/3.329, allocations: 0 / 1.266 GB, free: 99.14 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/3.329, allocations: 11.12 kB / 1.266 GB, free: 99.14 MB / 0.4952 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.004713/3.333, allocations: 2.61 MB / 1.269 GB, free: 97.42 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/3.334, allocations: 243.2 kB / 1.269 GB, free: 97.39 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/3.334, allocations: 125.5 kB / 1.269 GB, free: 97.39 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004275/3.335, allocations: 318.4 kB / 1.27 GB, free: 97.1 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/3.335, allocations: 42.06 kB / 1.27 GB, free: 97.06 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 3.337e-06/3.335, allocations: 1.625 kB / 1.27 GB, free: 97.06 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30): time 0.004128/3.339, allocations: 0.7831 MB / 1.27 GB, free: 96.99 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.67e-05/3.339, allocations: 136.4 kB / 1.271 GB, free: 96.83 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/3.34, allocations: 381.1 kB / 1.271 GB, free: 96.72 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/3.34, allocations: 25.7 kB / 1.271 GB, free: 96.69 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/3.34, allocations: 331.9 kB / 1.271 GB, free: 96.48 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/3.34, allocations: 106.1 kB / 1.271 GB, free: 96.43 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/3.34, allocations: 3.781 kB / 1.271 GB, free: 96.43 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/3.34, allocations: 325 kB / 1.272 GB, free: 96.12 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/3.341, allocations: 152.8 kB / 1.272 GB, free: 96.12 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/3.341, allocations: 293 kB / 1.272 GB, free: 95.97 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/3.345, allocations: 0.6301 MB / 1.273 GB, free: 95.96 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/3.345, allocations: 3.594 kB / 1.273 GB, free: 95.96 MB / 0.4952 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004683/3.35, allocations: 0.9485 MB / 1.274 GB, free: 95.91 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/3.35, allocations: 7.844 kB / 1.274 GB, free: 95.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/3.35, allocations: 7.266 kB / 1.274 GB, free: 95.91 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/3.35, allocations: 51.17 kB / 1.274 GB, free: 95.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/3.351, allocations: 146.9 kB / 1.274 GB, free: 95.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/3.36, allocations: 28.21 MB / 1.301 GB, free: 66.86 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/3.361, allocations: 63.64 kB / 1.301 GB, free: 66.84 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/3.361, allocations: 48.91 kB / 1.302 GB, free: 66.84 MB / 0.4952 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.0003417/3.361, allocations: 148.1 kB / 1.302 GB, free: 66.73 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004063/3.365, allocations: 0.7753 MB / 1.302 GB, free: 66.66 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/3.366, allocations: 50.28 kB / 1.302 GB, free: 66.64 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/3.368, allocations: 0.6198 MB / 1.303 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/3.368, allocations: 3.188 kB / 1.303 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/3.368, allocations: 0 / 1.303 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/3.368, allocations: 3.469 kB / 1.303 GB, free: 66.53 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/3.371, allocations: 1.115 MB / 1.304 GB, free: 65.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/3.371, allocations: 0 / 1.304 GB, free: 65.99 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/3.372, allocations: 61.11 kB / 1.304 GB, free: 65.98 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/3.372, allocations: 45.28 kB / 1.304 GB, free: 65.98 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/3.372, allocations: 3.969 kB / 1.304 GB, free: 65.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006431/3.373, allocations: 0.6147 MB / 1.305 GB, free: 65.45 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.373, allocations: 0 / 1.305 GB, free: 65.45 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/3.375, allocations: 0.6182 MB / 1.305 GB, free: 65.11 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/3.375, allocations: 150.3 kB / 1.306 GB, free: 64.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/3.375, allocations: 3.188 kB / 1.306 GB, free: 64.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/3.376, allocations: 25.61 kB / 1.306 GB, free: 64.99 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/3.376, allocations: 29.11 kB / 1.306 GB, free: 64.98 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/3.376, allocations: 18.67 kB / 1.306 GB, free: 64.98 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004935/3.376, allocations: 310.9 kB / 1.306 GB, free: 64.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.51e-07/3.376, allocations: 0 / 1.306 GB, free: 64.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002429/3.379, allocations: 394.2 kB / 1.306 GB, free: 64.82 MB / 0.4952 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.004924/3.384, allocations: 2.864 MB / 1.309 GB, free: 63.31 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001167/3.385, allocations: 351.6 kB / 1.309 GB, free: 63.3 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/3.385, allocations: 3.938 kB / 1.309 GB, free: 63.29 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/3.385, allocations: 128.1 kB / 1.31 GB, free: 63.28 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/3.387, allocations: 224.2 kB / 1.31 GB, free: 63.27 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/3.39, allocations: 0.7921 MB / 1.311 GB, free: 62.87 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/3.391, allocations: 0.867 MB / 1.311 GB, free: 62.16 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/3.391, allocations: 229.3 kB / 1.312 GB, free: 62.16 MB / 0.4952 GB Notification: Performance of SimCode: time 1.042e-06/3.391, allocations: 0 / 1.312 GB, free: 62.16 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.713/7.104, allocations: 30.24 MB / 1.341 GB, free: 52.09 MB / 0.4952 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