Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.005157/0.005157, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.24/1.24, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.001722/0.001722, allocations: 121.3 kB / 247.1 MB, free: 6.398 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.1723/0.1723, allocations: 39.94 MB / 331.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.064e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4605, allocations: 84.3 MB / 0.5195 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.4609, allocations: 91.62 kB / 0.5196 GB, free: 10.05 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd: time 0.009947/0.4708, allocations: 3.099 MB / 0.5226 GB, free: 8.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4709, allocations: 5.312 kB / 0.5226 GB, free: 8.945 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004452/0.4713, allocations: 405.1 kB / 0.523 GB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4714, allocations: 9.188 kB / 0.523 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.4717, allocations: 44.89 kB / 0.5231 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4719, allocations: 181.2 kB / 0.5232 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4719, allocations: 7.5 kB / 0.5232 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.472, allocations: 5.531 kB / 0.5232 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002247/0.4722, allocations: 101.5 kB / 0.5233 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4724, allocations: 155.3 kB / 0.5235 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4725, allocations: 0 / 0.5235 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4725, allocations: 5.062 kB / 0.5235 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.4725, allocations: 12.33 kB / 0.5235 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.4733, allocations: 0.618 MB / 0.5241 GB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.4736, allocations: 95.27 kB / 0.5242 GB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.4737, allocations: 26.23 kB / 0.5242 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4737, allocations: 0 / 0.5242 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.4737, allocations: 31.78 kB / 0.5243 GB, free: 7.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4737, allocations: 0 / 0.5243 GB, free: 7.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002194/0.474, allocations: 84.09 kB / 0.5243 GB, free: 7.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.474, allocations: 52.62 kB / 0.5244 GB, free: 7.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.4741, allocations: 118.8 kB / 0.5245 GB, free: 7.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4741, allocations: 25.7 kB / 0.5245 GB, free: 7.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4741, allocations: 117 kB / 0.5246 GB, free: 7.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.4742, allocations: 30.42 kB / 0.5247 GB, free: 7.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.4742, allocations: 0 / 0.5247 GB, free: 7.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.4742, allocations: 320 kB / 0.525 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.4743, allocations: 21.31 kB / 0.525 GB, free: 6.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.4744, allocations: 81.66 kB / 0.5251 GB, free: 6.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.4744, allocations: 42.12 kB / 0.5251 GB, free: 6.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4744, allocations: 8.938 kB / 0.5251 GB, free: 6.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001848/0.4746, allocations: 114.8 kB / 0.5252 GB, free: 6.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4746, allocations: 5.094 kB / 0.5252 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4747, allocations: 3.094 kB / 0.5252 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4747, allocations: 3.438 kB / 0.5252 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4749, allocations: 50.69 kB / 0.5253 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.4749, allocations: 3 kB / 0.5253 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.475, allocations: 18.86 kB / 0.5253 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.475, allocations: 5.906 kB / 0.5253 GB, free: 6.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.533e-05/0.4751, allocations: 113.6 kB / 0.5254 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.4752, allocations: 7.312 kB / 0.5254 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.4754, allocations: 93.94 kB / 0.5255 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4754, allocations: 4.906 kB / 0.5255 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4754, allocations: 4.969 kB / 0.5255 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4754, allocations: 0 / 0.5255 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.4756, allocations: 170.6 kB / 0.5257 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4756, allocations: 0.9375 kB / 0.5257 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4757, allocations: 35.97 kB / 0.5257 GB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4758, allocations: 1.031 kB / 0.5257 GB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4758, allocations: 3.906 kB / 0.5257 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4758, allocations: 1.266 kB / 0.5257 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4758, allocations: 3.984 kB / 0.5257 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001771/0.476, allocations: 186.6 kB / 0.5259 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.476, allocations: 83.42 kB / 0.526 GB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.476, allocations: 3.984 kB / 0.526 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4762, allocations: 7.281 kB / 0.526 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4762, allocations: 6.828 kB / 0.526 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4762, allocations: 1.25 kB / 0.526 GB, free: 6.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.028e-05/0.4763, allocations: 93.66 kB / 0.5261 GB, free: 6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000288/0.4766, allocations: 30.67 kB / 0.5261 GB, free: 5.992 MB / 346.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 (8): * Single equations (assignments): 8 * 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.0001604/0.4767, allocations: 116.8 kB / 0.5262 GB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4769, allocations: 72.94 kB / 0.5263 GB, free: 5.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4769, allocations: 0 / 0.5263 GB, free: 5.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.477, allocations: 26.53 kB / 0.5263 GB, free: 5.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.4771, allocations: 10.53 kB / 0.5263 GB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4775, allocations: 146.3 kB / 0.5265 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.4778, allocations: 0.7264 MB / 0.5272 GB, free: 5.051 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4778, allocations: 0 / 0.5272 GB, free: 5.051 MB / 346.7 MB Notification: Performance of Templates: time 0.003742/0.4815, allocations: 1.112 MB / 0.5283 GB, free: 4.504 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)