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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00723/0.00723, allocations: 104.5 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3553/0.3553, allocations: 38 MB / 307.9 MB, free: 10.01 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 71.89 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3441, allocations: 56.47 MB / 489.5 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003334/0.3474, allocations: 1.912 MB / 491.4 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3495, allocations: 1.144 MB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3497, allocations: 2.469 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.3501, allocations: 70.5 kB / 492.6 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.3504, allocations: 78.64 kB / 492.7 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.3511, allocations: 160.4 kB / 492.8 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.3516, allocations: 271.3 kB / 493.1 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3517, allocations: 40.91 kB / 493.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.352, allocations: 100 kB / 493.3 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.3523, allocations: 118.5 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.3524, allocations: 6.844 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.3531, allocations: 318.5 kB / 493.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3532, allocations: 54.84 kB / 493.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.3535, allocations: 118.8 kB / 493.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.3543, allocations: 430.2 kB / 494.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3544, allocations: 1.734 kB / 494.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3544, allocations: 3.938 kB / 494.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3544, allocations: 0 / 494.3 MB, free: 17.34 MB / 382.1 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.001128/0.3555, allocations: 0.5619 MB / 494.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.3556, allocations: 14.08 kB / 494.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3557, allocations: 34.44 kB / 494.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.356, allocations: 235.6 kB / 495.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.3561, allocations: 34.12 kB / 495.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.3561, allocations: 29.66 kB / 495.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.3571, allocations: 497.8 kB / 495.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3571, allocations: 0 / 495.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.3571, allocations: 15.5 kB / 495.7 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.3572, allocations: 27.3 kB / 495.7 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.358, allocations: 428.9 kB / 496.1 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.36, allocations: 1.18 MB / 497.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3603, allocations: 75.52 kB / 497.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3604, allocations: 46.59 kB / 497.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.3605, allocations: 2.641 kB / 497.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3605, allocations: 32.61 kB / 497.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3605, allocations: 0 / 497.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005871/0.3611, allocations: 157.5 kB / 497.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3612, allocations: 51.41 kB / 497.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3614, allocations: 172.3 kB / 497.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3614, allocations: 29.7 kB / 497.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3616, allocations: 216.3 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3617, allocations: 28.25 kB / 498.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3618, allocations: 56.56 kB / 498.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.3619, allocations: 320.8 kB / 498.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3621, allocations: 58.98 kB / 498.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3623, allocations: 168.5 kB / 498.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.3628, allocations: 258.8 kB / 498.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3628, allocations: 2.281 kB / 498.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007036/0.3635, allocations: 245.9 kB / 499.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.3636, allocations: 10.31 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.3636, allocations: 5.969 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.3637, allocations: 5.5 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.3641, allocations: 92.02 kB / 499.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009138/0.3651, allocations: 1.786 MB / 0.4893 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3653, allocations: 25.97 kB / 0.4894 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.3653, allocations: 17.2 kB / 0.4894 GB, free: 12.15 MB / 382.1 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.3657, allocations: 184.2 kB / 0.4896 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.3657, allocations: 8.406 kB / 0.4896 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.3663, allocations: 186.3 kB / 0.4897 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3663, allocations: 3.938 kB / 0.4897 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3663, allocations: 6.031 kB / 0.4898 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3663, allocations: 3.938 kB / 0.4898 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.3668, allocations: 293.7 kB / 0.49 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3668, allocations: 4 kB / 0.49 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.367, allocations: 62.86 kB / 0.4901 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.367, allocations: 0 / 0.4901 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3671, allocations: 7.844 kB / 0.4901 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000681/0.3677, allocations: 1.781 MB / 0.4918 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3678, allocations: 1.062 kB / 0.4918 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.3682, allocations: 215.6 kB / 0.4921 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.3682, allocations: 88.55 kB / 0.4921 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3682, allocations: 4.641 kB / 0.4921 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.3683, allocations: 5.859 kB / 0.4921 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.3684, allocations: 15.98 kB / 0.4922 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3684, allocations: 4.25 kB / 0.4922 GB, free: 9.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.551e-05/0.3685, allocations: 112.5 kB / 0.4923 GB, free: 9.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3685, allocations: 0 / 0.4923 GB, free: 9.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.3691, allocations: 104.9 kB / 0.4924 GB, free: 9.496 MB / 382.1 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.3694, allocations: 147.9 kB / 0.4925 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.37, allocations: 183 kB / 0.4927 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3701, allocations: 2.344 kB / 0.4927 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.3704, allocations: 85.88 kB / 0.4928 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3706, allocations: 18.42 kB / 0.4928 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.3715, allocations: 456.7 kB / 0.4932 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3718, allocations: 0.7966 MB / 0.494 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.3721, allocations: 61.72 kB / 0.4941 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.3721, allocations: 16.16 kB / 0.4941 GB, free: 8.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3721, allocations: 0 / 0.4941 GB, free: 8.332 MB / 382.1 MB Notification: Performance of Templates: time 0.008482/0.3806, allocations: 3.097 MB / 0.4971 GB, free: 7.883 MB / 382.1 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)