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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004229/0.004229, allocations: 182.1 kB / 7.457 MB, free: 2.504 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.446/1.446, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001792/0.001792, allocations: 122.4 kB / 247.1 MB, free: 6.379 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.2013/0.2013, allocations: 39.94 MB / 331.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.444e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4636, allocations: 81.42 MB / 0.5167 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.464, allocations: 76.25 kB / 0.5168 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01661/0.4806, allocations: 4.896 MB / 0.5215 GB, free: 9.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4807, allocations: 1.188 kB / 0.5215 GB, free: 9.324 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.00059/0.4813, allocations: 399.2 kB / 0.5219 GB, free: 8.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4814, allocations: 8.375 kB / 0.5219 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.4814, allocations: 7.438 kB / 0.5219 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4816, allocations: 180.5 kB / 0.5221 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4816, allocations: 1.438 kB / 0.5221 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4816, allocations: 5.281 kB / 0.5221 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001498/0.4818, allocations: 55.94 kB / 0.5222 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.4819, allocations: 59.69 kB / 0.5222 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4819, allocations: 1.344 kB / 0.5222 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4819, allocations: 0 / 0.5222 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4819, allocations: 1.312 kB / 0.5222 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.4822, allocations: 165.4 kB / 0.5224 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4823, allocations: 54.72 kB / 0.5224 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.4824, allocations: 41.78 kB / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.4824, allocations: 26.73 kB / 0.5225 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.4825, allocations: 31.84 kB / 0.5225 GB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.915e-06/0.4825, allocations: 7.922 kB / 0.5225 GB, free: 8.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.02142/0.5039, allocations: 1.666 MB / 0.5242 GB, free: 7.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.504, allocations: 56.75 kB / 0.5242 GB, free: 7.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.5042, allocations: 115.2 kB / 0.5243 GB, free: 7.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.5042, allocations: 25.7 kB / 0.5243 GB, free: 7.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.5043, allocations: 93.05 kB / 0.5244 GB, free: 7.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.5043, allocations: 32.38 kB / 0.5245 GB, free: 7.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.5044, allocations: 0 / 0.5245 GB, free: 7.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.5044, allocations: 324.8 kB / 0.5248 GB, free: 7.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5046, allocations: 66.7 kB / 0.5248 GB, free: 7.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.5047, allocations: 71.83 kB / 0.5249 GB, free: 7.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.5063, allocations: 236.9 kB / 0.5251 GB, free: 6.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5063, allocations: 3.938 kB / 0.5251 GB, free: 6.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001777/0.5081, allocations: 363 kB / 0.5255 GB, free: 6.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5081, allocations: 9.094 kB / 0.5255 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5081, allocations: 0.7812 kB / 0.5255 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5082, allocations: 1.188 kB / 0.5255 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.5086, allocations: 43.97 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5086, allocations: 0 / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.5088, allocations: 17.45 kB / 0.5256 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.5089, allocations: 8.484 kB / 0.5256 GB, free: 6.793 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 9.642e-05/0.509, allocations: 102.5 kB / 0.5257 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.509, allocations: 12.41 kB / 0.5257 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.511, allocations: 412.3 kB / 0.5261 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.511, allocations: 1.969 kB / 0.5261 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.511, allocations: 3.984 kB / 0.5261 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.511, allocations: 1.031 kB / 0.5261 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.5139, allocations: 0.7538 MB / 0.5268 GB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.514, allocations: 1.125 kB / 0.5268 GB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.5143, allocations: 45.16 kB / 0.5269 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5143, allocations: 1.469 kB / 0.5269 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.5143, allocations: 3.781 kB / 0.5269 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5144, allocations: 1.344 kB / 0.5269 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5144, allocations: 0.8438 kB / 0.5269 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001728/0.5161, allocations: 0.4964 MB / 0.5273 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.5162, allocations: 106.8 kB / 0.5274 GB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.5163, allocations: 1.469 kB / 0.5274 GB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5165, allocations: 23.2 kB / 0.5275 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.5166, allocations: 3.5 kB / 0.5275 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.5166, allocations: 12.95 kB / 0.5275 GB, free: 5.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.973e-05/0.5167, allocations: 93.83 kB / 0.5276 GB, free: 5.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007756/0.5174, allocations: 177.6 kB / 0.5277 GB, free: 5.508 MB / 346.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.000749/0.5182, allocations: 252.2 kB / 0.528 GB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.5186, allocations: 162.6 kB / 0.5281 GB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5186, allocations: 0 / 0.5281 GB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5188, allocations: 88.03 kB / 0.5282 GB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.519, allocations: 19.53 kB / 0.5282 GB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5206, allocations: 293 kB / 0.5285 GB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.5209, allocations: 0.7368 MB / 0.5292 GB, free: 4.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5209, allocations: 0 / 0.5292 GB, free: 4.43 MB / 346.7 MB Notification: Performance of Templates: time 0.01154/0.5324, allocations: 7.161 MB / 0.5362 GB, free: 14.3 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)