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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009698/0.009699, allocations: 165.5 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.438/1.438, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.001596/0.001596, allocations: 111.4 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.3573/0.3573, allocations: 38.05 MB / 303.7 MB, free: 42.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 12 kB / 362.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 48.7 MB / 411.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4865, allocations: 78.01 MB / 489.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4868, allocations: 100.7 kB / 489.7 MB, free: 9.625 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01617/0.503, allocations: 6.013 MB / 495.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.5031, allocations: 4.688 kB / 495.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5031, allocations: 4 kB / 495.7 MB, free: 4.492 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007195/0.5038, allocations: 445 kB / 496.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.5039, allocations: 12.03 kB / 496.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.5044, allocations: 76.38 kB / 496.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.5047, allocations: 221.7 kB / 496.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5047, allocations: 10.38 kB / 496.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.5048, allocations: 11.31 kB / 496.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.5053, allocations: 289.6 kB / 496.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5053, allocations: 7.984 kB / 496.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.5054, allocations: 3 kB / 496.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.5054, allocations: 14.81 kB / 496.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.5058, allocations: 275.7 kB / 497.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.5071, allocations: 0.7955 MB / 497.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5074, allocations: 185.4 kB / 498 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.5075, allocations: 11.3 kB / 498 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5075, allocations: 42.05 kB / 498.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.534e-06/0.5075, allocations: 0 / 498.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006161/0.5081, allocations: 261 kB / 498.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.5082, allocations: 58.84 kB / 498.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.5083, allocations: 171.4 kB / 498.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5084, allocations: 29.45 kB / 498.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.5084, allocations: 141.6 kB / 498.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.5085, allocations: 30.55 kB / 498.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.5085, allocations: 7.75 kB / 498.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.5086, allocations: 325.6 kB / 499.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5087, allocations: 66.48 kB / 499.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.5089, allocations: 127.6 kB / 499.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.5091, allocations: 98.08 kB / 499.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5091, allocations: 0 / 499.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004291/0.5095, allocations: 258 kB / 499.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5096, allocations: 8 kB / 499.6 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5096, allocations: 3.953 kB / 499.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5096, allocations: 4 kB / 499.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.51, allocations: 83.34 kB / 499.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009627/0.511, allocations: 1.783 MB / 0.4898 GB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5112, allocations: 31.08 kB / 0.4898 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.5112, allocations: 15.98 kB / 0.4898 GB, free: 14.7 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 0.0001592/0.5114, allocations: 148.3 kB / 0.4899 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.5115, allocations: 7.906 kB / 0.4899 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.5122, allocations: 304.5 kB / 0.4902 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5123, allocations: 3.938 kB / 0.4902 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5123, allocations: 0 / 0.4902 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5123, allocations: 0 / 0.4902 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.5126, allocations: 235.2 kB / 0.4905 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5126, allocations: 0 / 0.4905 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.5129, allocations: 66.44 kB / 0.4905 GB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5129, allocations: 0 / 0.4905 GB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5129, allocations: 4 kB / 0.4905 GB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.5141, allocations: 1.789 MB / 0.4923 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5141, allocations: 4.094 kB / 0.4923 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.5145, allocations: 262.5 kB / 0.4925 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.5146, allocations: 96.91 kB / 0.4926 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.5146, allocations: 7.953 kB / 0.4926 GB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5148, allocations: 15.92 kB / 0.4927 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.5149, allocations: 11.98 kB / 0.4927 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5149, allocations: 4 kB / 0.4927 GB, free: 11.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.515, allocations: 150.2 kB / 0.4928 GB, free: 11.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.515, allocations: 0 / 0.4928 GB, free: 11.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.5155, allocations: 55.88 kB / 0.4929 GB, free: 11.53 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003059/0.5158, allocations: 150.7 kB / 0.493 GB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.5164, allocations: 205.9 kB / 0.4932 GB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5164, allocations: 0 / 0.4932 GB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.5167, allocations: 91.36 kB / 0.4933 GB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.517, allocations: 7.812 kB / 0.4933 GB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.5179, allocations: 441.1 kB / 0.4937 GB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.5183, allocations: 0.7512 MB / 0.4945 GB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.5185, allocations: 49.39 kB / 0.4945 GB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.5186, allocations: 27.42 kB / 0.4945 GB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5186, allocations: 0 / 0.4945 GB, free: 9.82 MB / 346.7 MB Notification: Performance of Templates: time 0.0102/0.5288, allocations: 3.021 MB / 0.4975 GB, free: 6.844 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)