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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003619/0.003619, allocations: 179.3 kB / 7.454 MB, free: 2.508 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.437/1.437, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001721/0.001721, allocations: 123.8 kB / 217.7 MB, free: 8.195 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.1812/0.1812, allocations: 37.98 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 0.875 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 48.71 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/0.4111, allocations: 80.61 MB / 478.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.4114, allocations: 92.5 kB / 478.9 MB, free: 13.41 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd: time 0.02205/0.4335, allocations: 8.536 MB / 487.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.4335, allocations: 3.875 kB / 487.5 MB, free: 12.59 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0005527/0.4341, allocations: 0.5274 MB / 488 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4341, allocations: 11.66 kB / 488 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.4342, allocations: 32.61 kB / 488 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.4345, allocations: 236.7 kB / 488.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4345, allocations: 11.75 kB / 488.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4345, allocations: 19.34 kB / 488.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004696/0.435, allocations: 396.9 kB / 488.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.4355, allocations: 412 kB / 489.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4355, allocations: 3.875 kB / 489.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4356, allocations: 0 / 489.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.4356, allocations: 27.81 kB / 489.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.437, allocations: 1.14 MB / 490.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4371, allocations: 66.39 kB / 490.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.4371, allocations: 30.81 kB / 490.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.4372, allocations: 0 / 490.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4372, allocations: 34.31 kB / 490.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4372, allocations: 0 / 490.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002774/0.4375, allocations: 99.81 kB / 490.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.4375, allocations: 55.41 kB / 490.6 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4376, allocations: 147.7 kB / 490.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4377, allocations: 25.7 kB / 490.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4378, allocations: 219.6 kB / 490.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.4378, allocations: 26.41 kB / 491 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.4378, allocations: 3.938 kB / 491 MB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.4379, allocations: 321.4 kB / 491.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.4379, allocations: 35.86 kB / 491.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.438, allocations: 154.5 kB / 491.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.753e-05/0.4381, allocations: 71.84 kB / 491.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4381, allocations: 0 / 491.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002719/0.4384, allocations: 195.3 kB / 491.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4384, allocations: 3.875 kB / 491.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4384, allocations: 5.391 kB / 491.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4384, allocations: 7.719 kB / 491.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.4388, allocations: 85.11 kB / 491.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006697/0.4395, allocations: 1.8 MB / 493.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4396, allocations: 34.61 kB / 493.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.4397, allocations: 14.47 kB / 493.7 MB, free: 8.348 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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 8.825e-05/0.4398, allocations: 117.3 kB / 493.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4398, allocations: 14.91 kB / 493.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.4404, allocations: 225.3 kB / 494 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4404, allocations: 0 / 494 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4404, allocations: 0 / 494 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4404, allocations: 0 / 494 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.4406, allocations: 237.5 kB / 494.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4407, allocations: 3.938 kB / 494.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.4409, allocations: 62.25 kB / 494.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4409, allocations: 3.906 kB / 494.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4409, allocations: 4.922 kB / 494.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006516/0.4416, allocations: 1.78 MB / 496.1 MB, free: 22.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4416, allocations: 3.812 kB / 496.1 MB, free: 22.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001779/0.4418, allocations: 189.7 kB / 496.3 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.4419, allocations: 85.88 kB / 496.4 MB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4419, allocations: 8.094 kB / 496.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.442, allocations: 15.3 kB / 496.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4421, allocations: 5.516 kB / 496.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4421, allocations: 9.281 kB / 496.4 MB, free: 21.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.369e-05/0.4421, allocations: 106.2 kB / 496.5 MB, free: 21.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.4426, allocations: 107.9 kB / 496.6 MB, free: 21.84 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 (7): * Single equations (assignments): 4 * 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.0002879/0.4429, allocations: 171.2 kB / 496.8 MB, free: 21.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.4434, allocations: 154.6 kB / 496.9 MB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4434, allocations: 0 / 496.9 MB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.4436, allocations: 80.3 kB / 497 MB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.4438, allocations: 12.17 kB / 497 MB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.4444, allocations: 298.5 kB / 497.3 MB, free: 21.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.4449, allocations: 0.8258 MB / 498.2 MB, free: 20.87 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4449, allocations: 0 / 498.2 MB, free: 20.87 MB / 346.7 MB Notification: Performance of Templates: time 0.007194/0.4521, allocations: 3.125 MB / 0.4895 GB, free: 20.54 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)