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.001197/0.001197, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001523/0.001523, allocations: 189.5 kB / 16.25 MB, free: 6.629 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.486/1.486, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3255/0.3255, allocations: 37.97 MB / 307.4 MB, free: 10.18 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.001375/0.001375, allocations: 70.23 kB / 374.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1258, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003569/0.1294, allocations: 1.976 MB / 433.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1314, allocations: 1.138 MB / 434.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.1315, allocations: 0 / 434.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1319, allocations: 71.94 kB / 434.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1321, allocations: 63.59 kB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.1325, allocations: 131.5 kB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1328, allocations: 270.4 kB / 434.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.1329, allocations: 40.72 kB / 434.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1331, allocations: 103.4 kB / 435 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1332, allocations: 123.3 kB / 435.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1332, allocations: 8 kB / 435.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1337, allocations: 315.5 kB / 435.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.1338, allocations: 63.62 kB / 435.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1339, allocations: 111.2 kB / 435.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.1344, allocations: 426.5 kB / 436 MB, free: 2.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1344, allocations: 7.938 kB / 436 MB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1344, allocations: 0 / 436 MB, free: 2.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1344, allocations: 4 kB / 436 MB, free: 2.113 MB / 366.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.0007641/0.1352, allocations: 0.566 MB / 436.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.1352, allocations: 11.89 kB / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.1353, allocations: 32.56 kB / 436.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.1356, allocations: 239.9 kB / 436.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.1357, allocations: 29.12 kB / 436.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.1357, allocations: 28 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.1365, allocations: 0.4896 MB / 437.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1365, allocations: 0 / 437.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.1366, allocations: 12 kB / 437.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.1366, allocations: 28.98 kB / 437.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.1372, allocations: 427.6 kB / 437.9 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.1387, allocations: 1.197 MB / 439.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1388, allocations: 74.55 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.139, allocations: 44.75 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.139, allocations: 8 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.139, allocations: 34.56 kB / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.139, allocations: 0 / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004533/0.1395, allocations: 157.6 kB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1395, allocations: 51.41 kB / 439.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1397, allocations: 170.2 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1397, allocations: 29.7 kB / 439.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1399, allocations: 219.2 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1399, allocations: 27.64 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.14, allocations: 57.61 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1401, allocations: 318.8 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1403, allocations: 59.83 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.1405, allocations: 176.2 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.1409, allocations: 252 kB / 440.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1409, allocations: 0 / 440.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004475/0.1413, allocations: 241.1 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1414, allocations: 8 kB / 441 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1414, allocations: 4 kB / 441 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1414, allocations: 8 kB / 441 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1418, allocations: 87.91 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.143, allocations: 1.786 MB / 442.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1432, allocations: 35.95 kB / 442.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.1433, allocations: 20 kB / 442.9 MB, free: 10.77 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.000217/0.1435, allocations: 173.7 kB / 443.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1435, allocations: 7.906 kB / 443.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.144, allocations: 202 kB / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1441, allocations: 7.938 kB / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1441, allocations: 0 / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1441, allocations: 4 kB / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.1444, allocations: 293.5 kB / 443.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1444, allocations: 0 / 443.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1447, allocations: 63.97 kB / 443.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1447, allocations: 0 / 443.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1447, allocations: 8 kB / 443.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.1457, allocations: 1.777 MB / 445.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1457, allocations: 0 / 445.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.1461, allocations: 219.6 kB / 445.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1461, allocations: 85.02 kB / 445.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1461, allocations: 3.938 kB / 445.7 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.1462, allocations: 7.984 kB / 445.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.1463, allocations: 15.98 kB / 445.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1463, allocations: 4 kB / 445.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.1464, allocations: 112.1 kB / 445.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1464, allocations: 0 / 445.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.1469, allocations: 99.53 kB / 446 MB, free: 7.547 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.0003622/0.1473, allocations: 151.1 kB / 446.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.1479, allocations: 183.7 kB / 446.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1479, allocations: 0 / 446.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.1482, allocations: 93 kB / 446.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1485, allocations: 19.94 kB / 446.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1496, allocations: 0.5821 MB / 447 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1501, allocations: 0.7982 MB / 447.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1503, allocations: 61.19 kB / 447.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1503, allocations: 15.44 kB / 447.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1503, allocations: 4 kB / 447.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of Templates: time 0.00609/0.1564, allocations: 2.992 MB / 450.9 MB, free: 2.602 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)