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.001461/0.001461, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.234/1.234, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.00161/0.00161, allocations: 111.4 kB / 218 MB, free: 8.344 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.1876/0.1876, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.934e-05, allocations: 2.125 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 48.72 MB / 398.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/0.6187, allocations: 77.99 MB / 476.7 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.6192, allocations: 94.5 kB / 476.8 MB, free: 17.9 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.01109/0.6303, allocations: 3.411 MB / 480.2 MB, free: 33.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6303, allocations: 0 / 480.2 MB, free: 33.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.6303, allocations: 1.906 kB / 480.2 MB, free: 33.39 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.0004983/0.6308, allocations: 396.4 kB / 480.6 MB, free: 33.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.6309, allocations: 9.719 kB / 480.6 MB, free: 33.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.6312, allocations: 37.27 kB / 480.7 MB, free: 33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.6314, allocations: 192.2 kB / 480.9 MB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6315, allocations: 3.094 kB / 480.9 MB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.6315, allocations: 7.844 kB / 480.9 MB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002112/0.6317, allocations: 90.72 kB / 481 MB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.6319, allocations: 155 kB / 481.1 MB, free: 32.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.632, allocations: 0 / 481.1 MB, free: 32.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.632, allocations: 0 / 481.1 MB, free: 32.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.632, allocations: 9.891 kB / 481.1 MB, free: 32.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.6329, allocations: 0.6117 MB / 481.7 MB, free: 32.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.6332, allocations: 100 kB / 481.8 MB, free: 32.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.6332, allocations: 24.89 kB / 481.9 MB, free: 32.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.6332, allocations: 0 / 481.9 MB, free: 32.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.6333, allocations: 39.97 kB / 481.9 MB, free: 32.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.6333, allocations: 0 / 481.9 MB, free: 32.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002339/0.6335, allocations: 80.53 kB / 482 MB, free: 32.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6336, allocations: 52.84 kB / 482 MB, free: 32.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.6337, allocations: 115.6 kB / 482.1 MB, free: 31.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6337, allocations: 25.7 kB / 482.2 MB, free: 31.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.6338, allocations: 118.2 kB / 482.3 MB, free: 31.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.6338, allocations: 26.67 kB / 482.3 MB, free: 31.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6338, allocations: 0 / 482.3 MB, free: 31.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.6339, allocations: 316.9 kB / 482.6 MB, free: 31.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.634, allocations: 24.06 kB / 482.6 MB, free: 31.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.6341, allocations: 87.81 kB / 482.7 MB, free: 31.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.6341, allocations: 29.77 kB / 482.8 MB, free: 31.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6341, allocations: 0 / 482.8 MB, free: 31.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000192/0.6343, allocations: 117.1 kB / 482.9 MB, free: 31.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6344, allocations: 14.95 kB / 482.9 MB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6344, allocations: 1.188 kB / 482.9 MB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6344, allocations: 7.281 kB / 482.9 MB, free: 31.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.6346, allocations: 43.09 kB / 482.9 MB, free: 31.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6346, allocations: 9.797 kB / 482.9 MB, free: 31.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6347, allocations: 15.61 kB / 483 MB, free: 31.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.6348, allocations: 6 kB / 483 MB, free: 31.34 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.979e-05/0.6348, allocations: 111 kB / 483.1 MB, free: 31.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.6349, allocations: 3.375 kB / 483.1 MB, free: 31.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.6351, allocations: 104.5 kB / 483.2 MB, free: 31.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.6351, allocations: 1.031 kB / 483.2 MB, free: 31.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6351, allocations: 6.5 kB / 483.2 MB, free: 31.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6351, allocations: 0 / 483.2 MB, free: 31.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6353, allocations: 164.7 kB / 483.4 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6353, allocations: 1.094 kB / 483.4 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.6354, allocations: 27.73 kB / 483.4 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6355, allocations: 1.375 kB / 483.4 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6355, allocations: 0 / 483.4 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6355, allocations: 8.203 kB / 483.4 MB, free: 31.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6355, allocations: 4.031 kB / 483.4 MB, free: 31.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.6357, allocations: 183.4 kB / 483.6 MB, free: 30.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.6357, allocations: 83.55 kB / 483.7 MB, free: 30.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.6357, allocations: 0.5 kB / 483.7 MB, free: 30.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.6358, allocations: 8.844 kB / 483.7 MB, free: 30.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.6359, allocations: 15.45 kB / 483.7 MB, free: 30.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6359, allocations: 5.312 kB / 483.7 MB, free: 30.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.613e-05/0.636, allocations: 103 kB / 483.8 MB, free: 30.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.636, allocations: 0 / 483.8 MB, free: 30.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.6362, allocations: 22.88 kB / 483.8 MB, free: 30.69 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.0001827/0.6364, allocations: 111.4 kB / 483.9 MB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.6366, allocations: 69.88 kB / 484 MB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6366, allocations: 4.188 kB / 484 MB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.6367, allocations: 29.02 kB / 484 MB, free: 30.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.6369, allocations: 9.938 kB / 484 MB, free: 30.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.6373, allocations: 136.4 kB / 484.2 MB, free: 30.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.6376, allocations: 0.713 MB / 484.9 MB, free: 29.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.6377, allocations: 34.78 kB / 484.9 MB, free: 29.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.6378, allocations: 12.25 kB / 484.9 MB, free: 29.78 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6378, allocations: 0 / 484.9 MB, free: 29.78 MB / 346.7 MB Notification: Performance of Templates: time 0.00341/0.6412, allocations: 0.9397 MB / 485.9 MB, free: 29.65 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)