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.001818/0.001818, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001668/0.001668, allocations: 115.5 kB / 247.4 MB, free: 15.96 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.1932/0.1932, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.408e-05, allocations: 0 / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 54.88 MB / 448.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3726, allocations: 81.5 MB / 0.5173 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3729, allocations: 79.94 kB / 0.5174 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.3872, allocations: 5.18 MB / 0.5224 GB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3872, allocations: 0 / 0.5224 GB, free: 6.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3872, allocations: 3.938 kB / 0.5224 GB, free: 6.781 MB / 378.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.0004011/0.3876, allocations: 414.1 kB / 0.5228 GB, free: 6.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3877, allocations: 8.031 kB / 0.5228 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3877, allocations: 7.906 kB / 0.5228 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3879, allocations: 174.9 kB / 0.523 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3879, allocations: 0 / 0.523 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3879, allocations: 4 kB / 0.523 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/0.3881, allocations: 51.97 kB / 0.5231 GB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/0.3882, allocations: 65.64 kB / 0.5231 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3882, allocations: 0 / 0.5231 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3882, allocations: 3.984 kB / 0.5231 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3882, allocations: 4 kB / 0.5231 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.3884, allocations: 166.2 kB / 0.5233 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.3885, allocations: 54.56 kB / 0.5233 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.3886, allocations: 40.84 kB / 0.5234 GB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.3886, allocations: 12 kB / 0.5234 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3887, allocations: 34.56 kB / 0.5234 GB, free: 5.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3887, allocations: 4 kB / 0.5234 GB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01925/0.4079, allocations: 1.618 MB / 0.525 GB, free: 3.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.408, allocations: 55.34 kB / 0.5251 GB, free: 3.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4081, allocations: 111.5 kB / 0.5252 GB, free: 3.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4082, allocations: 29.69 kB / 0.5252 GB, free: 3.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4082, allocations: 88.38 kB / 0.5253 GB, free: 3.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.4083, allocations: 39.45 kB / 0.5253 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.4083, allocations: 0 / 0.5253 GB, free: 3.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4085, allocations: 318.8 kB / 0.5256 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4086, allocations: 67.98 kB / 0.5257 GB, free: 3.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.4087, allocations: 67.98 kB / 0.5257 GB, free: 3.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.41, allocations: 227.7 kB / 0.526 GB, free: 2.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.41, allocations: 0 / 0.526 GB, free: 2.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0015/0.4115, allocations: 349.6 kB / 0.5263 GB, free: 2.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4116, allocations: 8 kB / 0.5263 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4116, allocations: 0 / 0.5263 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4116, allocations: 7.891 kB / 0.5263 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.412, allocations: 43.95 kB / 0.5264 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.412, allocations: 0 / 0.5264 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.4122, allocations: 15.98 kB / 0.5264 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.4122, allocations: 8.234 kB / 0.5264 GB, free: 2.5 MB / 378.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 0.0001367/0.4124, allocations: 108.9 kB / 0.5265 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.4125, allocations: 7.906 kB / 0.5265 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4141, allocations: 390 kB / 0.5269 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4141, allocations: 0 / 0.5269 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4142, allocations: 3.953 kB / 0.5269 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4142, allocations: 0 / 0.5269 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.4168, allocations: 0.7409 MB / 0.5276 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4168, allocations: 0 / 0.5276 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.4171, allocations: 43.95 kB / 0.5276 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4171, allocations: 3.953 kB / 0.5276 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.4171, allocations: 4 kB / 0.5276 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4171, allocations: 3.938 kB / 0.5276 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4171, allocations: 8.094 kB / 0.5276 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.4186, allocations: 486.9 kB / 0.5281 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4187, allocations: 101 kB / 0.5282 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4188, allocations: 7.984 kB / 0.5282 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.419, allocations: 11.98 kB / 0.5282 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.4191, allocations: 7.938 kB / 0.5282 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.4191, allocations: 11.98 kB / 0.5282 GB, free: 464 kB / 378.7 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.4192, allocations: 95.33 kB / 0.5283 GB, free: 368 kB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4192, allocations: 7.875 kB / 0.5283 GB, free: 360 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005925/0.4198, allocations: 179.7 kB / 0.5285 GB, free: 180 kB / 378.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.2059/0.6257, allocations: 244.2 kB / 0.5287 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.6261, allocations: 155.1 kB / 0.5289 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6261, allocations: 0 / 0.5289 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.6263, allocations: 92.94 kB / 0.529 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.6265, allocations: 14.36 kB / 0.529 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.6278, allocations: 253.1 kB / 0.5292 GB, free: 86.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6279, allocations: 0.697 MB / 0.5299 GB, free: 86.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.6281, allocations: 41.14 kB / 0.53 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.6283, allocations: 23.02 kB / 0.53 GB, free: 86.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6283, allocations: 1.062 kB / 0.53 GB, free: 86.21 MB / 378.7 MB Notification: Performance of Templates: time 0.008859/0.6371, allocations: 4.943 MB / 0.5348 GB, free: 85.91 MB / 378.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)