Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001049/0.001049, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.167/1.167, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001551/0.001551, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1806/0.1806, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.776e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.71 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4595, allocations: 77.43 MB / 483.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4599, allocations: 99.61 kB / 483.3 MB, free: 18.49 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.4719, allocations: 4.197 MB / 487.5 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4719, allocations: 0 / 487.5 MB, free: 17.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4719, allocations: 7.875 kB / 487.5 MB, free: 17.95 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004852/0.4724, allocations: 434.8 kB / 487.9 MB, free: 17.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4725, allocations: 7.719 kB / 487.9 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.4731, allocations: 102.4 kB / 488 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.4733, allocations: 219.2 kB / 488.2 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4734, allocations: 15.56 kB / 488.2 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.4734, allocations: 15.36 kB / 488.2 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.4737, allocations: 214.4 kB / 488.4 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4738, allocations: 0 / 488.4 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4738, allocations: 3.688 kB / 488.4 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4738, allocations: 14.22 kB / 488.5 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.4741, allocations: 194.3 kB / 488.7 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.475, allocations: 0.746 MB / 489.4 MB, free: 16.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4752, allocations: 79.75 kB / 489.5 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.4752, allocations: 37.44 kB / 489.5 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4752, allocations: 0 / 489.5 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4753, allocations: 38.52 kB / 489.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.4753, allocations: 0 / 489.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002347/0.4755, allocations: 102.5 kB / 489.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4756, allocations: 54.73 kB / 489.7 MB, free: 16.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4757, allocations: 172.6 kB / 489.9 MB, free: 16.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4757, allocations: 29.61 kB / 489.9 MB, free: 16.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.4758, allocations: 133.5 kB / 490 MB, free: 16.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.4758, allocations: 26.61 kB / 490.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4759, allocations: 7.75 kB / 490.1 MB, free: 16.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.4759, allocations: 321.7 kB / 490.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.476, allocations: 41.31 kB / 490.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.4761, allocations: 83.05 kB / 490.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.4762, allocations: 51.58 kB / 490.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4762, allocations: 0 / 490.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002425/0.4764, allocations: 165.9 kB / 490.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4765, allocations: 11.88 kB / 490.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4765, allocations: 3.953 kB / 490.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4765, allocations: 3.719 kB / 490.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.4773, allocations: 111.2 kB / 490.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009585/0.4783, allocations: 1.815 MB / 492.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4784, allocations: 32.02 kB / 492.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4785, allocations: 7.531 kB / 492.7 MB, free: 14.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.4785, allocations: 108.5 kB / 492.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4786, allocations: 11.56 kB / 492.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.4789, allocations: 169.9 kB / 493 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4789, allocations: 0 / 493 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4789, allocations: 4 kB / 493 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4789, allocations: 0 / 493 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.4791, allocations: 225.4 kB / 493.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4791, allocations: 0 / 493.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.4798, allocations: 96.78 kB / 493.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4798, allocations: 0 / 493.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4798, allocations: 6.875 kB / 493.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.4805, allocations: 1.775 MB / 495.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4805, allocations: 0 / 495.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.4807, allocations: 213.5 kB / 495.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.4808, allocations: 91.33 kB / 495.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.4808, allocations: 3.875 kB / 495.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4809, allocations: 18 kB / 495.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.481, allocations: 13.14 kB / 495.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.481, allocations: 0 / 495.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.4811, allocations: 136.5 kB / 495.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4811, allocations: 0 / 495.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.4814, allocations: 53.19 kB / 495.6 MB, free: 11.63 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.4816, allocations: 132.3 kB / 495.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008495/0.4825, allocations: 159.7 kB / 495.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4825, allocations: 4 kB / 495.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.483, allocations: 92.84 kB / 496 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4833, allocations: 42.94 kB / 496 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4837, allocations: 219.6 kB / 496.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.484, allocations: 0.7477 MB / 497 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.4841, allocations: 28.8 kB / 497 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.4841, allocations: 15.16 kB / 497 MB, free: 10.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4841, allocations: 0 / 497 MB, free: 10.7 MB / 330.7 MB Notification: Performance of Templates: time 0.005704/0.4898, allocations: 3.115 MB / 0.4884 GB, free: 10.45 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1)