Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 79.98 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.543e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.637, allocations: 492.8 MB / 0.976 GB, free: 125 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.638, allocations: 91.94 kB / 0.9761 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7561/2.394, allocations: 210.1 MB / 1.181 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/2.394, allocations: 0 / 1.181 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.661e-05/2.394, allocations: 18.33 kB / 1.181 GB, free: 110.4 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.001865/2.396, allocations: 0.8683 MB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/2.396, allocations: 15.61 kB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/2.397, allocations: 130.9 kB / 1.182 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/2.397, allocations: 0.4908 MB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/2.397, allocations: 11.84 kB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/2.397, allocations: 27.53 kB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005674/2.398, allocations: 402.2 kB / 1.183 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/2.399, allocations: 0.4954 MB / 1.184 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/2.399, allocations: 5.141 kB / 1.184 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/2.399, allocations: 0 / 1.184 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.399, allocations: 11.69 kB / 1.184 GB, free: 108.7 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.002367/2.401, allocations: 2.6 MB / 1.186 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/2.402, allocations: 250.7 kB / 1.186 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/2.402, allocations: 128.9 kB / 1.187 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/2.402, allocations: 431.7 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/2.402, allocations: 50.61 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/2.402, allocations: 0 / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002121/2.404, allocations: 0.6316 MB / 1.188 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/2.404, allocations: 132.5 kB / 1.188 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/2.405, allocations: 380.4 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/2.405, allocations: 25.7 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/2.405, allocations: 302.7 kB / 1.188 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/2.405, allocations: 102.2 kB / 1.188 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/2.405, allocations: 0 / 1.188 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/2.405, allocations: 354.5 kB / 1.189 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/2.405, allocations: 153.6 kB / 1.189 GB, free: 104 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/2.406, allocations: 296.8 kB / 1.189 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/2.407, allocations: 493.3 kB / 1.19 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/2.407, allocations: 4 kB / 1.19 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002254/2.41, allocations: 0.8417 MB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/2.41, allocations: 11.95 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/2.41, allocations: 4 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/2.41, allocations: 53.27 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/2.41, allocations: 147.8 kB / 1.191 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/2.417, allocations: 28.2 MB / 1.218 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/2.418, allocations: 55.78 kB / 1.218 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/2.418, allocations: 47.98 kB / 1.218 GB, free: 72.07 MB / 0.5105 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.0002897/2.418, allocations: 159.9 kB / 1.219 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002048/2.42, allocations: 0.6342 MB / 1.219 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/2.421, allocations: 51.39 kB / 1.219 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/2.422, allocations: 0.9805 MB / 1.22 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/2.422, allocations: 0 / 1.22 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.422, allocations: 0 / 1.22 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/2.422, allocations: 3.984 kB / 1.22 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/2.424, allocations: 1.118 MB / 1.221 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/2.424, allocations: 4 kB / 1.221 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/2.424, allocations: 56.12 kB / 1.221 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/2.424, allocations: 48.83 kB / 1.221 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/2.425, allocations: 4 kB / 1.221 GB, free: 68.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004127/2.425, allocations: 0.6147 MB / 1.222 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.425, allocations: 4.031 kB / 1.222 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/2.426, allocations: 0.615 MB / 1.223 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/2.426, allocations: 156.3 kB / 1.223 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/2.426, allocations: 4 kB / 1.223 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/2.427, allocations: 27.97 kB / 1.223 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/2.427, allocations: 19.97 kB / 1.223 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/2.427, allocations: 16 kB / 1.223 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000313/2.427, allocations: 310.9 kB / 1.223 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/2.427, allocations: 8 kB / 1.223 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001645/2.429, allocations: 339.5 kB / 1.223 GB, free: 66.68 MB / 0.5105 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.003138/2.432, allocations: 2.78 MB / 1.226 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007471/2.433, allocations: 344.1 kB / 1.226 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/2.433, allocations: 0 / 1.226 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/2.433, allocations: 127.5 kB / 1.227 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/2.434, allocations: 218.1 kB / 1.227 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/2.436, allocations: 0.7389 MB / 1.228 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/2.436, allocations: 0.8706 MB / 1.228 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001032/2.437, allocations: 0.5361 MB / 1.229 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/2.437, allocations: 211.3 kB / 1.229 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/2.437, allocations: 0 / 1.229 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/2.485, allocations: 22.48 MB / 1.251 GB, free: 38.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/2.486, allocations: 204.3 kB / 1.251 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/5.5, allocations: 3.938 kB / 1.251 GB, free: 38.14 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)