Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006/0.006, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.78/1.78, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002003/0.002002, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.242/0.242, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 10.38 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 54.88 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.62/1.754, allocations: 0.6093 GB / 1.06 GB, free: 43.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.754, allocations: 95.94 kB / 1.06 GB, free: 43.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208/2.963, allocations: 270.1 MB / 1.323 GB, free: 90.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.963, allocations: 0 / 1.323 GB, free: 90.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.949e-05/2.963, allocations: 21.5 kB / 1.323 GB, free: 90.17 MB / 490.7 MB 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.003687/2.967, allocations: 1.275 MB / 1.325 GB, free: 89.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/2.967, allocations: 14.56 kB / 1.325 GB, free: 89.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/2.968, allocations: 151.4 kB / 1.325 GB, free: 89.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/2.969, allocations: 0.5284 MB / 1.325 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/2.969, allocations: 35.12 kB / 1.325 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/2.969, allocations: 42.38 kB / 1.325 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/2.97, allocations: 0.6373 MB / 1.326 GB, free: 89.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/2.97, allocations: 0.75 kB / 1.326 GB, free: 89.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/2.97, allocations: 23.97 kB / 1.326 GB, free: 89.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/2.97, allocations: 14.91 kB / 1.326 GB, free: 89.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/2.971, allocations: 0.4971 MB / 1.327 GB, free: 89.23 MB / 490.7 MB 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.002696/2.973, allocations: 2.583 MB / 1.329 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/2.974, allocations: 308.8 kB / 1.329 GB, free: 87.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/2.974, allocations: 325.4 kB / 1.33 GB, free: 87.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/2.974, allocations: 37.78 kB / 1.33 GB, free: 87.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/2.974, allocations: 0 / 1.33 GB, free: 87.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001442/2.976, allocations: 0.6768 MB / 1.33 GB, free: 87.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/2.976, allocations: 162.3 kB / 1.33 GB, free: 86.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/2.976, allocations: 395.6 kB / 1.331 GB, free: 86.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/2.976, allocations: 35.89 kB / 1.331 GB, free: 86.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/2.977, allocations: 323 kB / 1.331 GB, free: 86.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/2.977, allocations: 124.8 kB / 1.331 GB, free: 86.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/2.977, allocations: 11.12 kB / 1.331 GB, free: 86.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/2.977, allocations: 364.4 kB / 1.332 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/2.977, allocations: 143.9 kB / 1.332 GB, free: 86.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/2.977, allocations: 364.6 kB / 1.332 GB, free: 85.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/2.978, allocations: 201.7 kB / 1.332 GB, free: 85.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/2.978, allocations: 3.5 kB / 1.332 GB, free: 85.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009072/2.979, allocations: 0.6056 MB / 1.333 GB, free: 85.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/2.979, allocations: 6.531 kB / 1.333 GB, free: 85.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/2.979, allocations: 10.84 kB / 1.333 GB, free: 85.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/2.98, allocations: 236.4 kB / 1.333 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/2.98, allocations: 133.2 kB / 1.333 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003859/2.981, allocations: 0.5922 MB / 1.334 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/2.981, allocations: 61.36 kB / 1.334 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/2.981, allocations: 65.08 kB / 1.334 GB, free: 85.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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.000276/2.982, allocations: 193.6 kB / 1.334 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/2.982, allocations: 53.72 kB / 1.334 GB, free: 85.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/2.983, allocations: 0.6707 MB / 1.335 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/2.983, allocations: 3.969 kB / 1.335 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.983, allocations: 3.5 kB / 1.335 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/2.983, allocations: 7.656 kB / 1.335 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/2.985, allocations: 1.515 MB / 1.336 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/2.985, allocations: 3.531 kB / 1.336 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/2.985, allocations: 73.02 kB / 1.336 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/2.987, allocations: 236.5 kB / 1.337 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/2.987, allocations: 17.36 kB / 1.337 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003028/2.987, allocations: 0.5835 MB / 1.337 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/2.987, allocations: 7.625 kB / 1.337 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/2.988, allocations: 0.6861 MB / 1.338 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/2.988, allocations: 143.5 kB / 1.338 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/2.988, allocations: 11.09 kB / 1.338 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/2.988, allocations: 26.12 kB / 1.338 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/2.988, allocations: 40.61 kB / 1.338 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/2.988, allocations: 32.48 kB / 1.338 GB, free: 83.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003211/2.989, allocations: 313.9 kB / 1.339 GB, free: 83.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.989, allocations: 0 / 1.339 GB, free: 83.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001864/2.991, allocations: 444 kB / 1.339 GB, free: 83.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * 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.002265/2.993, allocations: 1.286 MB / 1.34 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008456/2.994, allocations: 413.2 kB / 1.341 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/2.994, allocations: 0 / 1.341 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/2.994, allocations: 194.3 kB / 1.341 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/2.995, allocations: 281.5 kB / 1.341 GB, free: 82.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/3.002, allocations: 2.636 MB / 1.344 GB, free: 82.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/3.002, allocations: 0.8869 MB / 1.344 GB, free: 81.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009451/3.003, allocations: 198.5 kB / 1.345 GB, free: 81.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/3.004, allocations: 92.66 kB / 1.345 GB, free: 81.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/3.004, allocations: 2.953 kB / 1.345 GB, free: 81.58 MB / 490.7 MB Notification: Performance of Templates: time 0.03744/3.041, allocations: 24.98 MB / 1.369 GB, free: 80.41 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)