Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001101/0.001101, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.413/1.413, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.00168/0.00168, allocations: 118.9 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1875/0.1875, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.608e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08833, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4568, allocations: 82.17 MB / 0.5247 GB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4571, allocations: 75.88 kB / 0.5248 GB, free: 8.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.4703, allocations: 5.262 MB / 0.5299 GB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4703, allocations: 0 / 0.5299 GB, free: 4.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4704, allocations: 4 kB / 0.5299 GB, free: 4.871 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003372/0.4707, allocations: 397.6 kB / 0.5303 GB, free: 4.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4707, allocations: 8.031 kB / 0.5303 GB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.4708, allocations: 7.906 kB / 0.5303 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.4709, allocations: 186.4 kB / 0.5305 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4709, allocations: 0 / 0.5305 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.4709, allocations: 7.938 kB / 0.5305 GB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.471, allocations: 63.61 kB / 0.5306 GB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4711, allocations: 7.938 kB / 0.5306 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4711, allocations: 0 / 0.5306 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4711, allocations: 4 kB / 0.5306 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.4712, allocations: 52.84 kB / 0.5306 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.4713, allocations: 191.8 kB / 0.5308 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.049e-05/0.4714, allocations: 58 kB / 0.5309 GB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.4715, allocations: 45.59 kB / 0.5309 GB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.4715, allocations: 18.19 kB / 0.5309 GB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4716, allocations: 42.48 kB / 0.531 GB, free: 3.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4716, allocations: 0 / 0.531 GB, free: 3.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.01582/0.4874, allocations: 1.227 MB / 0.5322 GB, free: 2.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4875, allocations: 51.41 kB / 0.5322 GB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.4876, allocations: 113.6 kB / 0.5323 GB, free: 2.391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4876, allocations: 33.52 kB / 0.5324 GB, free: 2.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.4876, allocations: 83.75 kB / 0.5325 GB, free: 2.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.4877, allocations: 38.2 kB / 0.5325 GB, free: 2.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.4877, allocations: 4 kB / 0.5325 GB, free: 2.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.4878, allocations: 322 kB / 0.5328 GB, free: 1.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4879, allocations: 73.92 kB / 0.5329 GB, free: 1.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.488, allocations: 69.23 kB / 0.5329 GB, free: 1.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4882, allocations: 73.41 kB / 0.533 GB, free: 1.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4882, allocations: 0 / 0.533 GB, free: 1.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000337/0.4885, allocations: 197 kB / 0.5332 GB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4886, allocations: 11.95 kB / 0.5332 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4886, allocations: 0 / 0.5332 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4886, allocations: 4 kB / 0.5332 GB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4889, allocations: 39.97 kB / 0.5332 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4889, allocations: 0 / 0.5332 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4891, allocations: 15.61 kB / 0.5333 GB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.4892, allocations: 11.98 kB / 0.5333 GB, free: 1.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.4892, allocations: 108.6 kB / 0.5334 GB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4893, allocations: 7.906 kB / 0.5334 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.4898, allocations: 259.8 kB / 0.5336 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4898, allocations: 0 / 0.5336 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4898, allocations: 0 / 0.5336 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4898, allocations: 3.984 kB / 0.5336 GB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.4911, allocations: 0.6239 MB / 0.5342 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4911, allocations: 0 / 0.5342 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4913, allocations: 39.91 kB / 0.5343 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4914, allocations: 4 kB / 0.5343 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.4914, allocations: 7.5 kB / 0.5343 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4914, allocations: 0 / 0.5343 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4914, allocations: 0 / 0.5343 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.4918, allocations: 353.5 kB / 0.5346 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.4918, allocations: 102.7 kB / 0.5347 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4919, allocations: 6.562 kB / 0.5347 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4921, allocations: 15.98 kB / 0.5348 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.4921, allocations: 14.25 kB / 0.5348 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4922, allocations: 4 kB / 0.5348 GB, free: 124 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.4922, allocations: 103.4 kB / 0.5349 GB, free: 28 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4922, allocations: 0 / 0.5349 GB, free: 28 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006127/0.4928, allocations: 179.5 kB / 0.535 GB, free: 15.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006126/0.4935, allocations: 257.4 kB / 0.5353 GB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.4938, allocations: 164.2 kB / 0.5354 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4938, allocations: 96 / 0.5354 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.494, allocations: 90.36 kB / 0.5355 GB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.4942, allocations: 19.7 kB / 0.5355 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4953, allocations: 266 kB / 0.5358 GB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4956, allocations: 0.7043 MB / 0.5365 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.4958, allocations: 36.41 kB / 0.5365 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.496, allocations: 23.41 kB / 0.5365 GB, free: 14.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.496, allocations: 4 kB / 0.5365 GB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.009128/0.5051, allocations: 5.211 MB / 0.5416 GB, free: 9.168 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)