Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001249/0.001249, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009398, allocations: 89.66 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.918e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.582, allocations: 493.8 MB / 0.9867 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.583, allocations: 93.97 kB / 0.9868 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8071/2.39, allocations: 210.2 MB / 1.192 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/2.39, allocations: 0 / 1.192 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.126e-05/2.39, allocations: 18.78 kB / 1.192 GB, free: 86.99 MB / 0.5261 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.002375/2.392, allocations: 0.8592 MB / 1.193 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/2.392, allocations: 10.22 kB / 1.193 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/2.394, allocations: 149.1 kB / 1.193 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/2.395, allocations: 488.8 kB / 1.193 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/2.395, allocations: 11.59 kB / 1.194 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/2.395, allocations: 23.09 kB / 1.194 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006677/2.395, allocations: 406.9 kB / 1.194 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/2.396, allocations: 0.499 MB / 1.194 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/2.396, allocations: 3 kB / 1.194 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/2.396, allocations: 3.812 kB / 1.194 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/2.396, allocations: 11.67 kB / 1.194 GB, free: 86.07 MB / 0.5261 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.002856/2.399, allocations: 2.598 MB / 1.197 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/2.4, allocations: 245 kB / 1.197 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/2.4, allocations: 125.4 kB / 1.197 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/2.4, allocations: 433.3 kB / 1.198 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/2.4, allocations: 38.09 kB / 1.198 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/2.4, allocations: 1.969 kB / 1.198 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002393/2.403, allocations: 0.6386 MB / 1.198 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/2.403, allocations: 139.7 kB / 1.199 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/2.403, allocations: 376.7 kB / 1.199 GB, free: 83.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/2.403, allocations: 25.7 kB / 1.199 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/2.403, allocations: 292.8 kB / 1.199 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/2.404, allocations: 100.9 kB / 1.199 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/2.404, allocations: 0 / 1.199 GB, free: 83.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001257/2.404, allocations: 361 kB / 1.2 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/2.404, allocations: 153.8 kB / 1.2 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/2.404, allocations: 291.2 kB / 1.2 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/2.406, allocations: 493.9 kB / 1.201 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.406, allocations: 3.875 kB / 1.201 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002311/2.409, allocations: 0.8459 MB / 1.201 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/2.409, allocations: 9.25 kB / 1.201 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/2.409, allocations: 3.75 kB / 1.201 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/2.409, allocations: 51.97 kB / 1.201 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/2.409, allocations: 148.2 kB / 1.202 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/2.418, allocations: 28.22 MB / 1.229 GB, free: 53.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/2.418, allocations: 56 kB / 1.229 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/2.418, allocations: 48.61 kB / 1.229 GB, free: 53.71 MB / 0.5261 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.0003525/2.419, allocations: 156.3 kB / 1.229 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002099/2.421, allocations: 0.639 MB / 1.23 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/2.421, allocations: 52.02 kB / 1.23 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/2.423, allocations: 0.9813 MB / 1.231 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/2.423, allocations: 3.75 kB / 1.231 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/2.423, allocations: 0 / 1.231 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/2.423, allocations: 0 / 1.231 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/2.425, allocations: 1.118 MB / 1.232 GB, free: 52.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/2.425, allocations: 0 / 1.232 GB, free: 52.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/2.425, allocations: 57.81 kB / 1.232 GB, free: 52.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/2.425, allocations: 47.89 kB / 1.232 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/2.425, allocations: 7.75 kB / 1.232 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004271/2.426, allocations: 0.6121 MB / 1.233 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.426, allocations: 0 / 1.233 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/2.427, allocations: 0.6178 MB / 1.233 GB, free: 52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/2.427, allocations: 146.5 kB / 1.234 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/2.427, allocations: 3.812 kB / 1.234 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/2.427, allocations: 32.48 kB / 1.234 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/2.428, allocations: 24.61 kB / 1.234 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/2.428, allocations: 14.69 kB / 1.234 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003569/2.428, allocations: 316.4 kB / 1.234 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/2.428, allocations: 0 / 1.234 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001754/2.43, allocations: 348.6 kB / 1.234 GB, free: 51.75 MB / 0.5261 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.003434/2.433, allocations: 2.775 MB / 1.237 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007296/2.434, allocations: 348.7 kB / 1.237 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.434, allocations: 3.906 kB / 1.237 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/2.434, allocations: 127.7 kB / 1.237 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/2.435, allocations: 221.8 kB / 1.238 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/2.437, allocations: 0.7348 MB / 1.238 GB, free: 49.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/2.437, allocations: 0.8686 MB / 1.239 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001076/2.438, allocations: 0.5377 MB / 1.24 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/2.439, allocations: 211.4 kB / 1.24 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/2.439, allocations: 3.75 kB / 1.24 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.061/2.5, allocations: 22.51 MB / 1.262 GB, free: 47.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.5, allocations: 197 kB / 1.262 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/5.483, allocations: 2.031 kB / 1.262 GB, free: 47.66 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)