Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 96.14 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.012e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.496/1.643, allocations: 0.495 GB / 0.9994 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.643, allocations: 92.88 kB / 0.9995 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8781/2.521, allocations: 234.6 MB / 1.229 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/2.521, allocations: 0 / 1.229 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000101/2.521, allocations: 19.52 kB / 1.229 GB, free: 111.7 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004314/2.525, allocations: 1.054 MB / 1.23 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/2.526, allocations: 11.69 kB / 1.23 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/2.527, allocations: 165.3 kB / 1.23 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/2.529, allocations: 498.5 kB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/2.529, allocations: 18.48 kB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/2.529, allocations: 26.03 kB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009034/2.53, allocations: 437.3 kB / 1.231 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/2.531, allocations: 0.5543 MB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/2.531, allocations: 4.656 kB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/2.531, allocations: 3.281 kB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/2.531, allocations: 17.83 kB / 1.231 GB, free: 110.7 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.003403/2.534, allocations: 2.584 MB / 1.234 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/2.535, allocations: 228.8 kB / 1.234 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/2.535, allocations: 126.9 kB / 1.234 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/2.535, allocations: 440.5 kB / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/2.535, allocations: 41.12 kB / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/2.535, allocations: 0 / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002399/2.538, allocations: 0.6278 MB / 1.235 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/2.538, allocations: 162 kB / 1.235 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/2.538, allocations: 393 kB / 1.236 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/2.538, allocations: 34.98 kB / 1.236 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/2.539, allocations: 316.6 kB / 1.236 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/2.539, allocations: 107.4 kB / 1.236 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/2.539, allocations: 0 / 1.236 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.539, allocations: 357.2 kB / 1.237 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/2.539, allocations: 122.6 kB / 1.237 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/2.54, allocations: 299.1 kB / 1.237 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/2.541, allocations: 462.3 kB / 1.237 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/2.541, allocations: 3.906 kB / 1.237 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002396/2.544, allocations: 0.7835 MB / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/2.544, allocations: 7.625 kB / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/2.544, allocations: 3.375 kB / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/2.544, allocations: 50.69 kB / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/2.544, allocations: 123 kB / 1.238 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005533/2.545, allocations: 0.6114 MB / 1.239 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/2.546, allocations: 50.08 kB / 1.239 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/2.546, allocations: 54.67 kB / 1.239 GB, free: 106.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0002118/2.546, allocations: 121.1 kB / 1.239 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002105/2.548, allocations: 0.6317 MB / 1.24 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/2.548, allocations: 48.81 kB / 1.24 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/2.55, allocations: 0.9704 MB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/2.55, allocations: 1.594 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/2.55, allocations: 7.891 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.55, allocations: 2.188 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/2.552, allocations: 1.136 MB / 1.242 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.552, allocations: 3.969 kB / 1.242 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/2.552, allocations: 48.3 kB / 1.242 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/2.553, allocations: 55.08 kB / 1.242 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/2.553, allocations: 11.03 kB / 1.242 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/2.553, allocations: 0.5947 MB / 1.243 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.553, allocations: 3.375 kB / 1.243 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/2.554, allocations: 0.6379 MB / 1.243 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/2.554, allocations: 150.1 kB / 1.243 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/2.554, allocations: 2.625 kB / 1.243 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/2.555, allocations: 31.19 kB / 1.243 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/2.555, allocations: 31.06 kB / 1.243 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/2.555, allocations: 21.16 kB / 1.243 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003462/2.555, allocations: 317.6 kB / 1.244 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.555, allocations: 1.906 kB / 1.244 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001445/2.557, allocations: 362 kB / 1.244 GB, free: 103.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.003603/2.56, allocations: 2.918 MB / 1.247 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007319/2.561, allocations: 325.3 kB / 1.247 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.561, allocations: 0 / 1.247 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/2.561, allocations: 121.5 kB / 1.247 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/2.563, allocations: 249.2 kB / 1.248 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/2.565, allocations: 0.7627 MB / 1.248 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/2.565, allocations: 0.8762 MB / 1.249 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001207/2.566, allocations: 0.5563 MB / 1.25 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/2.566, allocations: 219.9 kB / 1.25 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/2.566, allocations: 0 / 1.25 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/2.618, allocations: 23.32 MB / 1.273 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/2.618, allocations: 190.7 kB / 1.273 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/5.458, allocations: 0 / 1.273 GB, free: 91.15 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)