Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003321/0.003321, allocations: 178.5 kB / 7.447 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.249/1.249, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001643/0.001643, allocations: 111.9 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2294/0.2294, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.666e-06, allocations: 1.594 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 48.72 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4553, allocations: 75.04 MB / 473.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4556, allocations: 73.77 kB / 473.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0132/0.4688, allocations: 4.886 MB / 478.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4689, allocations: 3.875 kB / 478.2 MB, free: 13.49 MB / 330.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.0003568/0.4693, allocations: 398 kB / 478.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4693, allocations: 9.922 kB / 478.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.4694, allocations: 11.66 kB / 478.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4695, allocations: 178.3 kB / 478.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4695, allocations: 0 / 478.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.4695, allocations: 6.5 kB / 478.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001289/0.4697, allocations: 54.77 kB / 478.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.4698, allocations: 60.78 kB / 478.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4698, allocations: 0 / 478.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4698, allocations: 0 / 478.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4698, allocations: 0 / 478.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.47, allocations: 168.8 kB / 479.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.4701, allocations: 53.89 kB / 479.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.4702, allocations: 37.61 kB / 479.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.4702, allocations: 33.83 kB / 479.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4703, allocations: 35.75 kB / 479.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.4703, allocations: 3.938 kB / 479.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.02022/0.4905, allocations: 1.674 MB / 480.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4906, allocations: 59.19 kB / 481 MB, free: 12.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4907, allocations: 112.7 kB / 481.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4908, allocations: 25.7 kB / 481.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4908, allocations: 86.34 kB / 481.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.4909, allocations: 33.72 kB / 481.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4909, allocations: 0 / 481.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4911, allocations: 320.8 kB / 481.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.4912, allocations: 70.94 kB / 481.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.4913, allocations: 68.47 kB / 481.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.4928, allocations: 240.3 kB / 481.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4928, allocations: 7.844 kB / 481.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001609/0.4944, allocations: 356.2 kB / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4944, allocations: 7.719 kB / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4945, allocations: 0 / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.4945, allocations: 0 / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.4949, allocations: 41.08 kB / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4949, allocations: 0 / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.4952, allocations: 16.67 kB / 482.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.4952, allocations: 7.812 kB / 482.3 MB, free: 11.7 MB / 330.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.865e-05/0.4953, allocations: 101 kB / 482.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.4954, allocations: 14.12 kB / 482.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.4973, allocations: 419.5 kB / 482.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4973, allocations: 3.875 kB / 482.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4973, allocations: 2.766 kB / 482.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4974, allocations: 0 / 482.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.5002, allocations: 0.7483 MB / 483.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5003, allocations: 3.875 kB / 483.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.5006, allocations: 45.34 kB / 483.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.5006, allocations: 3.875 kB / 483.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.5007, allocations: 7.172 kB / 483.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5007, allocations: 3.875 kB / 483.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5007, allocations: 0 / 483.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001744/0.5024, allocations: 0.4926 MB / 484.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5026, allocations: 105.7 kB / 484.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.5026, allocations: 3.875 kB / 484.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.5029, allocations: 20.03 kB / 484.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.503, allocations: 10.86 kB / 484.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.503, allocations: 7.312 kB / 484.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.508e-05/0.5031, allocations: 95.92 kB / 484.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.5039, allocations: 178.6 kB / 484.6 MB, free: 10.75 MB / 330.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.0009447/0.5048, allocations: 249.2 kB / 484.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.5052, allocations: 157.6 kB / 485 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5052, allocations: 0 / 485 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5054, allocations: 87.83 kB / 485.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5057, allocations: 18.3 kB / 485.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.5071, allocations: 292.6 kB / 485.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.5076, allocations: 0.729 MB / 486.1 MB, free: 25.8 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5076, allocations: 0 / 486.1 MB, free: 25.8 MB / 346.7 MB Notification: Performance of Templates: time 0.01693/0.5245, allocations: 7.154 MB / 493.3 MB, free: 25.31 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)