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.001983/0.001983, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009203/0.0009206, allocations: 92.94 kB / 297.3 MB, free: 6.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.417/0.417, allocations: 45.23 MB / 394.6 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 8 kB / 468.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4942, allocations: 63.25 MB / 0.5193 GB, free: 43.72 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.827, allocations: 494.5 MB / 1.002 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.828, allocations: 109.8 kB / 1.002 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8338/2.662, allocations: 213.4 MB / 1.211 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.917e-06/2.662, allocations: 3.906 kB / 1.211 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.323e-05/2.662, allocations: 22.19 kB / 1.211 GB, free: 119.7 MB / 0.5417 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.002444/2.664, allocations: 0.9433 MB / 1.212 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/2.664, allocations: 11.53 kB / 1.212 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/2.664, allocations: 84.42 kB / 1.212 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/2.665, allocations: 146.8 kB / 1.212 GB, free: 119 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/2.666, allocations: 496.2 kB / 1.212 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/2.666, allocations: 33.41 kB / 1.212 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/2.666, allocations: 36.72 kB / 1.212 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/2.668, allocations: 0.61 MB / 1.213 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.668, allocations: 0 / 1.213 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/2.668, allocations: 19.81 kB / 1.213 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/2.668, allocations: 11.88 kB / 1.213 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000886/2.669, allocations: 497.7 kB / 1.214 GB, free: 118.2 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003155/2.672, allocations: 2.653 MB / 1.216 GB, free: 116 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/2.672, allocations: 327.9 kB / 1.216 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/2.673, allocations: 444.7 kB / 1.217 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/2.673, allocations: 38.55 kB / 1.217 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/2.673, allocations: 3.75 kB / 1.217 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001726/2.675, allocations: 0.7219 MB / 1.218 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/2.675, allocations: 138.7 kB / 1.218 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/2.675, allocations: 441.3 kB / 1.218 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/2.676, allocations: 33.39 kB / 1.218 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/2.676, allocations: 285.9 kB / 1.219 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/2.676, allocations: 115.8 kB / 1.219 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/2.676, allocations: 11.88 kB / 1.219 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001414/2.676, allocations: 358.5 kB / 1.219 GB, free: 114 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/2.676, allocations: 192.3 kB / 1.219 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/2.677, allocations: 315.9 kB / 1.219 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/2.677, allocations: 228.8 kB / 1.22 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/2.677, allocations: 0 / 1.22 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001168/2.678, allocations: 0.6374 MB / 1.22 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/2.678, allocations: 7.312 kB / 1.22 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/2.678, allocations: 6.188 kB / 1.22 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/2.68, allocations: 233.7 kB / 1.221 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/2.68, allocations: 154.9 kB / 1.221 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/2.689, allocations: 28.72 MB / 1.249 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/2.69, allocations: 71.84 kB / 1.249 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/2.69, allocations: 51.33 kB / 1.249 GB, free: 83.29 MB / 0.5417 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 () * Number of clocked 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.0003617/2.691, allocations: 186.6 kB / 1.249 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/2.691, allocations: 54.59 kB / 1.249 GB, free: 83.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/2.693, allocations: 1.054 MB / 1.25 GB, free: 82.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/2.693, allocations: 3.938 kB / 1.25 GB, free: 82.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/2.693, allocations: 3.938 kB / 1.25 GB, free: 82.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/2.693, allocations: 7.797 kB / 1.25 GB, free: 82.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/2.694, allocations: 0.9526 MB / 1.251 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.694, allocations: 4.031 kB / 1.251 GB, free: 82.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/2.695, allocations: 54.5 kB / 1.251 GB, free: 82.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/2.696, allocations: 236.8 kB / 1.251 GB, free: 82.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/2.696, allocations: 10.72 kB / 1.251 GB, free: 82.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000345/2.696, allocations: 0.5882 MB / 1.252 GB, free: 81.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.696, allocations: 0 / 1.252 GB, free: 81.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/2.697, allocations: 0.5418 MB / 1.252 GB, free: 81.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/2.697, allocations: 157 kB / 1.253 GB, free: 81.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/2.697, allocations: 11.97 kB / 1.253 GB, free: 81.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/2.698, allocations: 42.52 kB / 1.253 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/2.698, allocations: 21.48 kB / 1.253 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/2.698, allocations: 18.84 kB / 1.253 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004493/2.698, allocations: 382.8 kB / 1.253 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.698, allocations: 4 kB / 1.253 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001944/2.7, allocations: 374.3 kB / 1.253 GB, free: 80.75 MB / 0.5417 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 () * Number of clocked 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.002942/2.703, allocations: 2.419 MB / 1.256 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001098/2.704, allocations: 407.8 kB / 1.256 GB, free: 79.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.704, allocations: 0 / 1.256 GB, free: 79.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/2.705, allocations: 160.6 kB / 1.256 GB, free: 79.06 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/2.706, allocations: 270.5 kB / 1.257 GB, free: 79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/2.71, allocations: 4.244 MB / 1.261 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/2.711, allocations: 0.8695 MB / 1.262 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00132/2.712, allocations: 0.5419 MB / 1.262 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/2.712, allocations: 219.4 kB / 1.262 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/2.712, allocations: 0 / 1.262 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/2.778, allocations: 32.12 MB / 1.294 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.778, allocations: 278.6 kB / 1.294 GB, free: 54.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/6.317, allocations: 3.25 kB / 1.294 GB, free: 54.29 MB / 0.5417 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)