Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.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.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") [: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.004808/0.004808, allocations: 187.3 kB / 7.455 MB, free: 2.246 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.266/1.266, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.001667/0.001667, allocations: 122.8 kB / 247.1 MB, free: 6.387 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.1906/0.1906, allocations: 39.95 MB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.585e-06/7.765e-06, allocations: 8 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4495, allocations: 95.69 MB / 0.5306 GB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4498, allocations: 91 kB / 0.5307 GB, free: 4.531 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd: time 0.06927/0.519, allocations: 22.09 MB / 0.5523 GB, free: 1.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5191, allocations: 8 kB / 0.5523 GB, free: 1.891 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001199/0.5203, allocations: 0.5968 MB / 0.5529 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5204, allocations: 15.97 kB / 0.5529 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.5205, allocations: 35.53 kB / 0.5529 GB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.5209, allocations: 264 kB / 0.5532 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5209, allocations: 16 kB / 0.5532 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.5209, allocations: 24 kB / 0.5532 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006016/0.5216, allocations: 463.4 kB / 0.5537 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.5222, allocations: 439.7 kB / 0.5541 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5222, allocations: 3.938 kB / 0.5541 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.5222, allocations: 0 / 0.5541 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.5223, allocations: 43.66 kB / 0.5541 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.5243, allocations: 1.249 MB / 0.5553 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.525, allocations: 351.2 kB / 0.5557 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.5251, allocations: 110.8 kB / 0.5558 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.5252, allocations: 8 kB / 0.5558 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.5252, allocations: 33.94 kB / 0.5558 GB, free: 14.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.5252, allocations: 0 / 0.5558 GB, free: 14.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005248/0.5257, allocations: 281.4 kB / 0.5561 GB, free: 14.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.5258, allocations: 59.44 kB / 0.5561 GB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.5259, allocations: 166.4 kB / 0.5563 GB, free: 14.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.526, allocations: 29.2 kB / 0.5563 GB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.5261, allocations: 205.2 kB / 0.5565 GB, free: 13.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.5261, allocations: 84.38 kB / 0.5566 GB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.5262, allocations: 0 / 0.5566 GB, free: 13.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.5263, allocations: 329.1 kB / 0.5569 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5264, allocations: 106.3 kB / 0.557 GB, free: 13.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5266, allocations: 140.9 kB / 0.5572 GB, free: 13.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.5268, allocations: 133.3 kB / 0.5573 GB, free: 13.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5268, allocations: 4 kB / 0.5573 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004768/0.5273, allocations: 325.2 kB / 0.5576 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5273, allocations: 8 kB / 0.5576 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5274, allocations: 0 / 0.5576 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5274, allocations: 0 / 0.5576 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.528, allocations: 123.7 kB / 0.5577 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5298, allocations: 3.038 MB / 0.5607 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.53, allocations: 35.48 kB / 0.5607 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5301, allocations: 15.98 kB / 0.5607 GB, free: 9.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.5302, allocations: 108.9 kB / 0.5608 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.5302, allocations: 15.81 kB / 0.5609 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008561/0.5311, allocations: 464.9 kB / 0.5613 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5311, allocations: 7.938 kB / 0.5613 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5311, allocations: 0 / 0.5613 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5311, allocations: 0 / 0.5613 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.5316, allocations: 324.7 kB / 0.5616 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5316, allocations: 0 / 0.5616 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.5322, allocations: 111.8 kB / 0.5617 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.5322, allocations: 8 kB / 0.5617 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.5323, allocations: 11.42 kB / 0.5617 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.5343, allocations: 3.04 MB / 0.5647 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5343, allocations: 0 / 0.5647 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005143/0.5348, allocations: 407.5 kB / 0.5651 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.5349, allocations: 96.84 kB / 0.5652 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.5349, allocations: 0 / 0.5652 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.5351, allocations: 12.09 kB / 0.5652 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.5352, allocations: 23.95 kB / 0.5652 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.5353, allocations: 15.44 kB / 0.5652 GB, free: 4.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001013/0.5354, allocations: 124.6 kB / 0.5654 GB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008899/0.5363, allocations: 206.6 kB / 0.5656 GB, free: 4.613 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007759/0.537, allocations: 278.3 kB / 0.5658 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.5379, allocations: 334.3 kB / 0.5661 GB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.538, allocations: 3.938 kB / 0.5661 GB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.5386, allocations: 212.9 kB / 0.5664 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.5388, allocations: 10.67 kB / 0.5664 GB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.5398, allocations: 484.6 kB / 0.5668 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.5403, allocations: 0.8864 MB / 0.5677 GB, free: 2.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.615e-06/0.5404, allocations: 0 / 0.5677 GB, free: 2.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01203/0.5524, allocations: 6.343 MB / 0.5739 GB, free: 12.17 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)