Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001936/0.001935, allocations: 189.6 kB / 16.13 MB, free: 6.699 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.543/1.543, allocations: 205.1 MB / 222 MB, free: 4.75 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.343/0.343, allocations: 37.97 MB / 307.3 MB, free: 10.07 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.001417/0.001417, allocations: 64.77 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1489, allocations: 56.46 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003535/0.1525, allocations: 1.862 MB / 432.9 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1549, allocations: 1.407 MB / 434.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.155, allocations: 0 / 434.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1553, allocations: 35.83 kB / 434.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1555, allocations: 39.69 kB / 434.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.156, allocations: 215.3 kB / 434.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1561, allocations: 99.45 kB / 434.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1562, allocations: 9.109 kB / 434.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1563, allocations: 47.73 kB / 434.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.1564, allocations: 59.69 kB / 434.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1565, allocations: 4 kB / 434.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006791/0.1572, allocations: 499 kB / 435.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.1572, allocations: 15.92 kB / 435.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.1572, allocations: 43.67 kB / 435.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.1578, allocations: 355.3 kB / 435.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1578, allocations: 0 / 435.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1578, allocations: 0 / 435.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1578, allocations: 0 / 435.7 MB, free: 2.355 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007254/0.1585, allocations: 439.2 kB / 436.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1586, allocations: 12.02 kB / 436.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1587, allocations: 16.75 kB / 436.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1588, allocations: 176.2 kB / 436.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1589, allocations: 8.375 kB / 436.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1589, allocations: 16.12 kB / 436.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1593, allocations: 142.4 kB / 436.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1593, allocations: 0 / 436.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1593, allocations: 8 kB / 436.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1593, allocations: 4 kB / 436.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1596, allocations: 135.8 kB / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1607, allocations: 0.5182 MB / 437.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.161, allocations: 106.5 kB / 437.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1612, allocations: 48.83 kB / 437.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1612, allocations: 7.984 kB / 437.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1612, allocations: 34.56 kB / 437.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1612, allocations: 0 / 437.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005204/0.1618, allocations: 169.3 kB / 437.5 MB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1618, allocations: 55.41 kB / 437.6 MB, free: 292 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.1619, allocations: 109.8 kB / 437.7 MB, free: 172 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1619, allocations: 33.7 kB / 437.7 MB, free: 132 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.162, allocations: 107.8 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.1621, allocations: 39.39 kB / 437.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.1622, allocations: 37.61 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1623, allocations: 318.8 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1625, allocations: 35.97 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1626, allocations: 85.11 kB / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1629, allocations: 132.9 kB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1629, allocations: 0 / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003285/0.1632, allocations: 161.3 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1633, allocations: 8 kB / 438.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1633, allocations: 4 kB / 438.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1633, allocations: 8.141 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1635, allocations: 43.97 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004268/0.164, allocations: 0.5938 MB / 439.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1641, allocations: 15.83 kB / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1641, allocations: 12 kB / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.1643, allocations: 121.9 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1643, allocations: 4 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.1647, allocations: 170.1 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1647, allocations: 8 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1648, allocations: 3.938 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1648, allocations: 0 / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.165, allocations: 213.5 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.165, allocations: 0 / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1652, allocations: 43.97 kB / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1653, allocations: 0 / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1653, allocations: 0 / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002868/0.1656, allocations: 0.5976 MB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1656, allocations: 0 / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.166, allocations: 287.5 kB / 440.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.1661, allocations: 92.97 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1661, allocations: 12.14 kB / 440.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1663, allocations: 8 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.1663, allocations: 11.92 kB / 440.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1663, allocations: 11.98 kB / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.1664, allocations: 91.22 kB / 440.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1664, allocations: 0 / 440.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1668, allocations: 79.77 kB / 441 MB, free: 12.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.1672, allocations: 171.1 kB / 441.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.1676, allocations: 128.2 kB / 441.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1676, allocations: 0 / 441.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1678, allocations: 75.89 kB / 441.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1681, allocations: 19.73 kB / 441.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.1689, allocations: 354.3 kB / 441.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1693, allocations: 0.712 MB / 442.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.1694, allocations: 28.61 kB / 442.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1695, allocations: 19.44 kB / 442.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1695, allocations: 0 / 442.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Templates: time 0.005646/0.1751, allocations: 2.135 MB / 444.6 MB, free: 8.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)