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.005284/0.005285, allocations: 175.5 kB / 15.12 MB, free: 5.973 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.409/1.409, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001822/0.001823, allocations: 128.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1868/0.1868, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 14.22 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 54.87 MB / 461.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5662, allocations: 85.12 MB / 0.5334 GB, free: 82.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5665, allocations: 101.8 kB / 0.5335 GB, free: 82.85 MB / 378.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.01138/0.5779, allocations: 3.464 MB / 0.5368 GB, free: 82.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5779, allocations: 1.312 kB / 0.5369 GB, free: 82.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.578, allocations: 1.344 kB / 0.5369 GB, free: 82.34 MB / 378.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.000503/0.5785, allocations: 397.8 kB / 0.5372 GB, free: 81.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.5785, allocations: 10.25 kB / 0.5372 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.5788, allocations: 44.81 kB / 0.5373 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.579, allocations: 188.5 kB / 0.5375 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.579, allocations: 7.438 kB / 0.5375 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.5791, allocations: 15.16 kB / 0.5375 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.5795, allocations: 187.4 kB / 0.5377 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5795, allocations: 1.094 kB / 0.5377 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.5796, allocations: 5.172 kB / 0.5377 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.5796, allocations: 9.922 kB / 0.5377 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.58, allocations: 152 kB / 0.5378 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.5809, allocations: 0.6442 MB / 0.5385 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.5813, allocations: 115.2 kB / 0.5386 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5813, allocations: 5.375 kB / 0.5386 GB, free: 81.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5813, allocations: 30.56 kB / 0.5386 GB, free: 81.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.5813, allocations: 1.125 kB / 0.5386 GB, free: 81.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005443/0.5819, allocations: 160.2 kB / 0.5388 GB, free: 81.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.5819, allocations: 55.34 kB / 0.5388 GB, free: 80.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5821, allocations: 119 kB / 0.5389 GB, free: 80.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5821, allocations: 27.05 kB / 0.5389 GB, free: 80.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.5822, allocations: 122.4 kB / 0.5391 GB, free: 80.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.5822, allocations: 18.53 kB / 0.5391 GB, free: 80.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.5822, allocations: 4.906 kB / 0.5391 GB, free: 80.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.5823, allocations: 324.4 kB / 0.5394 GB, free: 80.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5824, allocations: 43.69 kB / 0.5394 GB, free: 80.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.5826, allocations: 101.5 kB / 0.5395 GB, free: 80.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.5827, allocations: 54.55 kB / 0.5396 GB, free: 80.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5828, allocations: 1.094 kB / 0.5396 GB, free: 80.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003825/0.5831, allocations: 174.2 kB / 0.5397 GB, free: 80.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.5832, allocations: 6.625 kB / 0.5398 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5832, allocations: 2.5 kB / 0.5398 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.5832, allocations: 2.094 kB / 0.5398 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.5835, allocations: 41.3 kB / 0.5398 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.5835, allocations: 6.062 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5836, allocations: 22.95 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.5836, allocations: 8.844 kB / 0.5398 GB, free: 80.25 MB / 378.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 () * Number of clocked 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 0.0001273/0.5838, allocations: 130.1 kB / 0.54 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.5838, allocations: 7.219 kB / 0.54 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.5842, allocations: 139.3 kB / 0.5401 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5842, allocations: 1.031 kB / 0.5401 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5842, allocations: 0 / 0.5401 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5842, allocations: 0 / 0.5401 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.5845, allocations: 207.9 kB / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5845, allocations: 0 / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.5846, allocations: 27.31 kB / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5846, allocations: 1.188 kB / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5847, allocations: 4 kB / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5847, allocations: 2.125 kB / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5847, allocations: 0 / 0.5403 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.5851, allocations: 228 kB / 0.5405 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.5852, allocations: 84.2 kB / 0.5406 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.5852, allocations: 0 / 0.5406 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5853, allocations: 11.27 kB / 0.5406 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.5854, allocations: 9.766 kB / 0.5406 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.5854, allocations: 1.125 kB / 0.5407 GB, free: 79.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.5854, allocations: 92.83 kB / 0.5407 GB, free: 79.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5855, allocations: 0 / 0.5407 GB, free: 79.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.5858, allocations: 36.47 kB / 0.5408 GB, free: 79.55 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 () * Number of clocked 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.0002017/0.586, allocations: 127 kB / 0.5409 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.5863, allocations: 112.3 kB / 0.541 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5864, allocations: 1.062 kB / 0.541 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.5865, allocations: 46.28 kB / 0.541 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.5867, allocations: 6.766 kB / 0.5411 GB, free: 79.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.5874, allocations: 303.8 kB / 0.5413 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5876, allocations: 0.7143 MB / 0.542 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.5877, allocations: 26.25 kB / 0.5421 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.5878, allocations: 20.16 kB / 0.5421 GB, free: 78.54 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5878, allocations: 0 / 0.5421 GB, free: 78.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003963/0.5918, allocations: 1.078 MB / 0.5431 GB, free: 78.25 MB / 378.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)