Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [: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.002754/0.002754, allocations: 177.9 kB / 7.449 MB, free: 2.508 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.202/1.202, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001743/0.001743, allocations: 119.8 kB / 217.7 MB, free: 8.176 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.1914/0.1914, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.898e-06, allocations: 1.5 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.686, allocations: 0.5858 GB / 0.9747 GB, free: 115.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.687, allocations: 88.58 kB / 0.9748 GB, free: 115.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.8646/2.551, allocations: 276.4 MB / 1.245 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001126/2.552, allocations: 16 kB / 1.245 GB, free: 11.31 MB / 426.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.005182/2.557, allocations: 1.236 MB / 1.246 GB, free: 10.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/2.557, allocations: 8.031 kB / 1.246 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/2.559, allocations: 159 kB / 1.246 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/2.56, allocations: 0.5287 MB / 1.247 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/2.56, allocations: 19.94 kB / 1.247 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/2.56, allocations: 24 kB / 1.247 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008969/2.561, allocations: 429.8 kB / 1.247 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009029/2.562, allocations: 0.5305 MB / 1.248 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/2.562, allocations: 4 kB / 1.248 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/2.562, allocations: 0 / 1.248 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/2.562, allocations: 12 kB / 1.248 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/2.565, allocations: 2.592 MB / 1.25 GB, free: 5.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/2.566, allocations: 216.4 kB / 1.25 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/2.566, allocations: 128.8 kB / 1.251 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003628/2.566, allocations: 329.2 kB / 1.251 GB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/2.566, allocations: 38.56 kB / 1.251 GB, free: 4.699 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.225e-06/2.566, allocations: 0 / 1.251 GB, free: 4.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.002803/2.569, allocations: 0.8109 MB / 1.252 GB, free: 3.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/2.569, allocations: 158.2 kB / 1.252 GB, free: 3.688 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/2.57, allocations: 397.2 kB / 1.252 GB, free: 3.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/2.57, allocations: 25.7 kB / 1.252 GB, free: 3.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/2.57, allocations: 279 kB / 1.252 GB, free: 2.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/2.57, allocations: 110.4 kB / 1.253 GB, free: 2.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/2.57, allocations: 0 / 1.253 GB, free: 2.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/2.57, allocations: 358.8 kB / 1.253 GB, free: 2.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/2.57, allocations: 121.3 kB / 1.253 GB, free: 2.395 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/2.571, allocations: 351.2 kB / 1.253 GB, free: 1.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/2.573, allocations: 0.6629 MB / 1.254 GB, free: 1.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/2.573, allocations: 0 / 1.254 GB, free: 1.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002808/2.576, allocations: 1.013 MB / 1.255 GB, free: 272 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/2.576, allocations: 15.94 kB / 1.255 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/2.576, allocations: 11.92 kB / 1.255 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/2.576, allocations: 52.83 kB / 1.255 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/2.576, allocations: 127.8 kB / 1.255 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2272/2.804, allocations: 0.613 MB / 1.256 GB, free: 97.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/2.804, allocations: 56.44 kB / 1.256 GB, free: 97.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/2.804, allocations: 58.52 kB / 1.256 GB, free: 97.62 MB / 426.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 () * 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.0001548/2.805, allocations: 126.1 kB / 1.256 GB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/2.805, allocations: 54.81 kB / 1.256 GB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/2.807, allocations: 0.6809 MB / 1.257 GB, free: 97.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/2.807, allocations: 6.406 kB / 1.257 GB, free: 97.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/2.807, allocations: 0 / 1.257 GB, free: 97.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/2.807, allocations: 6.234 kB / 1.257 GB, free: 97.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/2.808, allocations: 1.116 MB / 1.258 GB, free: 96.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/2.809, allocations: 3.094 kB / 1.258 GB, free: 96.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/2.809, allocations: 50.28 kB / 1.258 GB, free: 96.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/2.809, allocations: 48.17 kB / 1.258 GB, free: 96.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/2.809, allocations: 13.23 kB / 1.258 GB, free: 96.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004385/2.809, allocations: 0.6051 MB / 1.259 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/2.809, allocations: 12.09 kB / 1.259 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/2.81, allocations: 0.6478 MB / 1.259 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/2.811, allocations: 183.5 kB / 1.259 GB, free: 95.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/2.811, allocations: 3.969 kB / 1.259 GB, free: 95.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/2.811, allocations: 18.58 kB / 1.259 GB, free: 95.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/2.811, allocations: 31.31 kB / 1.259 GB, free: 95.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/2.811, allocations: 17.41 kB / 1.259 GB, free: 95.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003151/2.811, allocations: 321.2 kB / 1.26 GB, free: 95.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001832/2.813, allocations: 470.3 kB / 1.26 GB, free: 95.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002494/2.816, allocations: 1.521 MB / 1.262 GB, free: 95.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008742/2.817, allocations: 340.6 kB / 1.262 GB, free: 95.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/2.817, allocations: 0 / 1.262 GB, free: 95.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/2.817, allocations: 124.5 kB / 1.262 GB, free: 95.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/2.818, allocations: 240.7 kB / 1.262 GB, free: 95.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/2.825, allocations: 2.441 MB / 1.265 GB, free: 95.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/2.826, allocations: 0.9887 MB / 1.266 GB, free: 94.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/2.826, allocations: 0 / 1.266 GB, free: 94.66 MB / 426.7 MB Notification: Performance of Templates: time 0.03201/2.858, allocations: 19.82 MB / 1.285 GB, free: 94.12 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)