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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001038/0.001038, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.568/1.568, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001671/0.001671, allocations: 113.3 kB / 252.6 MB, free: 4.824 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.2051/0.2051, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.817e-05/5.82e-05, allocations: 8 kB / 400.3 MB, free: 69.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 54.86 MB / 455.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5289, allocations: 85.03 MB / 0.5275 GB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5292, allocations: 98.86 kB / 0.5276 GB, free: 6.453 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 - DAE generated: time 0.009009/0.5382, allocations: 3.445 MB / 0.531 GB, free: 3.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5382, allocations: 3.938 kB / 0.531 GB, free: 3.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5383, allocations: 4 kB / 0.531 GB, free: 3.473 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.0004609/0.5387, allocations: 398 kB / 0.5314 GB, free: 3.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.5388, allocations: 8.031 kB / 0.5314 GB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.5391, allocations: 39.77 kB / 0.5314 GB, free: 3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.5392, allocations: 190.9 kB / 0.5316 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5393, allocations: 4 kB / 0.5316 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.5393, allocations: 11.94 kB / 0.5316 GB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.5396, allocations: 170.8 kB / 0.5318 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5396, allocations: 0 / 0.5318 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5396, allocations: 11.86 kB / 0.5318 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.5396, allocations: 11.98 kB / 0.5318 GB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.5398, allocations: 114.6 kB / 0.5319 GB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.5407, allocations: 0.6349 MB / 0.5325 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.541, allocations: 105.8 kB / 0.5326 GB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.541, allocations: 29.56 kB / 0.5327 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.541, allocations: 3.688 kB / 0.5327 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.5411, allocations: 30.56 kB / 0.5327 GB, free: 1.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5411, allocations: 4 kB / 0.5327 GB, free: 1.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002181/0.5413, allocations: 82.47 kB / 0.5328 GB, free: 1.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5413, allocations: 51.41 kB / 0.5328 GB, free: 1.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.5414, allocations: 116.9 kB / 0.5329 GB, free: 1.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5415, allocations: 33.45 kB / 0.533 GB, free: 1.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.5415, allocations: 119.8 kB / 0.5331 GB, free: 1.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.5415, allocations: 31.72 kB / 0.5331 GB, free: 1.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5416, allocations: 0 / 0.5331 GB, free: 1.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.5416, allocations: 318.6 kB / 0.5334 GB, free: 0.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.5417, allocations: 31.73 kB / 0.5335 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.5418, allocations: 79.09 kB / 0.5335 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.5418, allocations: 35.8 kB / 0.5336 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5418, allocations: 0 / 0.5336 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000181/0.542, allocations: 144.7 kB / 0.5337 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5421, allocations: 4 kB / 0.5337 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5421, allocations: 8.25 kB / 0.5337 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5421, allocations: 0 / 0.5337 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5423, allocations: 43.97 kB / 0.5338 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.5423, allocations: 0 / 0.5338 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.5424, allocations: 23.84 kB / 0.5338 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5424, allocations: 15.75 kB / 0.5338 GB, free: 0.5469 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 5.867e-05/0.5425, allocations: 116.9 kB / 0.5339 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.5425, allocations: 4 kB / 0.5339 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.5427, allocations: 93.59 kB / 0.534 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5427, allocations: 0 / 0.534 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5427, allocations: 4 kB / 0.534 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5427, allocations: 0 / 0.534 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.5429, allocations: 209 kB / 0.5342 GB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5429, allocations: 0 / 0.5342 GB, free: 100 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.543, allocations: 27.98 kB / 0.5342 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5431, allocations: 4 kB / 0.5342 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.5431, allocations: 0 / 0.5342 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5431, allocations: 0 / 0.5342 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5431, allocations: 3.938 kB / 0.5342 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.5433, allocations: 194.4 kB / 0.5344 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.5434, allocations: 77.11 kB / 0.5345 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.5434, allocations: 4 kB / 0.5345 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5435, allocations: 15.92 kB / 0.5345 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.5436, allocations: 4 kB / 0.5345 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5436, allocations: 0 / 0.5345 GB, free: 15.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.988e-05/0.5436, allocations: 104.2 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5436, allocations: 0 / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.5439, allocations: 31.78 kB / 0.5346 GB, free: 15.63 MB / 362.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.0002306/0.5441, allocations: 127.2 kB / 0.5348 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.5443, allocations: 71.55 kB / 0.5348 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5443, allocations: 0 / 0.5348 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.5444, allocations: 31.55 kB / 0.5349 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.5445, allocations: 7.203 kB / 0.5349 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.5449, allocations: 137.3 kB / 0.535 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.5452, allocations: 0.7199 MB / 0.5357 GB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.5454, allocations: 28.52 kB / 0.5357 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.5454, allocations: 15.44 kB / 0.5357 GB, free: 14.48 MB / 362.7 MB Notification: Performance of SimCode: time 3.246e-06/0.5454, allocations: 0 / 0.5357 GB, free: 14.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00385/0.5493, allocations: 1.116 MB / 0.5368 GB, free: 13.39 MB / 362.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)