Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008042/0.008041, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.336/1.336, allocations: 170.8 MB / 186.6 MB, free: 1.027 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.001577/0.001577, allocations: 107.3 kB / 226.2 MB, free: 10.1 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.2945/0.2945, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 16 kB / 362.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 48.69 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4931, allocations: 78.75 MB / 490.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4935, allocations: 98.55 kB / 490.4 MB, free: 8.879 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.00895/0.5025, allocations: 3.46 MB / 493.9 MB, free: 5.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5025, allocations: 0 / 493.9 MB, free: 5.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.5025, allocations: 0 / 493.9 MB, free: 5.902 MB / 330.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.0004301/0.503, allocations: 396 kB / 494.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.503, allocations: 12.03 kB / 494.3 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.5033, allocations: 39.25 kB / 494.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5034, allocations: 194.1 kB / 494.5 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.5035, allocations: 11.36 kB / 494.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.5035, allocations: 7.312 kB / 494.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.5038, allocations: 190.5 kB / 494.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5039, allocations: 4 kB / 494.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.5039, allocations: 1.312 kB / 494.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.5039, allocations: 11.84 kB / 494.7 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.5042, allocations: 144.5 kB / 494.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.505, allocations: 0.6526 MB / 495.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.5053, allocations: 117.2 kB / 495.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.5054, allocations: 0 / 495.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5054, allocations: 34.56 kB / 495.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.5054, allocations: 0 / 495.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004027/0.5058, allocations: 160.4 kB / 495.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.5059, allocations: 55.41 kB / 495.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.5059, allocations: 113.1 kB / 496 MB, free: 3.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.5059, allocations: 25.7 kB / 496 MB, free: 3.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.506, allocations: 122.3 kB / 496.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.506, allocations: 23.27 kB / 496.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.506, allocations: 0 / 496.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.5061, allocations: 313.9 kB / 496.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.5062, allocations: 54.64 kB / 496.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.5063, allocations: 94.69 kB / 496.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.5065, allocations: 58.8 kB / 496.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5065, allocations: 0 / 496.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002737/0.5068, allocations: 174.4 kB / 496.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5068, allocations: 4.25 kB / 496.9 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5068, allocations: 8 kB / 496.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5068, allocations: 4 kB / 496.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.507, allocations: 43.91 kB / 496.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.507, allocations: 1.016 kB / 496.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.5071, allocations: 26.39 kB / 496.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5071, allocations: 4 kB / 496.9 MB, free: 2.82 MB / 330.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 8.575e-05/0.5072, allocations: 137.4 kB / 497.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5072, allocations: 11.86 kB / 497.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5075, allocations: 134.3 kB / 497.2 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.5076, allocations: 4 kB / 497.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5076, allocations: 4 kB / 497.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.5076, allocations: 0 / 497.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.5077, allocations: 194.8 kB / 497.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5078, allocations: 0 / 497.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.5079, allocations: 35.91 kB / 497.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5079, allocations: 0 / 497.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5079, allocations: 7.328 kB / 497.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5079, allocations: 4.844 kB / 497.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5079, allocations: 0 / 497.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5082, allocations: 217.4 kB / 497.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.5082, allocations: 81.02 kB / 497.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.5082, allocations: 8 kB / 497.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.5084, allocations: 15.81 kB / 497.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.5084, allocations: 4 kB / 497.8 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.5084, allocations: 0 / 497.8 MB, free: 1.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.5085, allocations: 105 kB / 497.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5085, allocations: 3.938 kB / 497.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.5087, allocations: 27.69 kB / 497.9 MB, free: 1.824 MB / 330.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.000144/0.5089, allocations: 129.1 kB / 498 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.5092, allocations: 103.1 kB / 498.1 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5092, allocations: 8 kB / 498.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5093, allocations: 46.28 kB / 498.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.5094, allocations: 4 kB / 498.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.5099, allocations: 313 kB / 498.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.51, allocations: 0.7121 MB / 499.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5102, allocations: 28.52 kB / 499.2 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.5102, allocations: 15.12 kB / 499.3 MB, free: 468 kB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5102, allocations: 0 / 499.3 MB, free: 468 kB / 330.7 MB Notification: Performance of Templates: time 0.003614/0.5138, allocations: 1.064 MB / 0.4886 GB, free: 15.44 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)