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.001427/0.001427, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.552/1.552, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.4093/0.4093, allocations: 37.99 MB / 307.8 MB, free: 10.04 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.001747/0.001748, allocations: 69 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 56.46 MB / 431.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00401/0.1555, allocations: 1.79 MB / 433.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1582, allocations: 1.376 MB / 434.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.1583, allocations: 0 / 434.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1587, allocations: 43.75 kB / 434.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1589, allocations: 51.62 kB / 435 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.1595, allocations: 243.1 kB / 435.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1597, allocations: 103.4 kB / 435.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.1598, allocations: 13.09 kB / 435.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.16, allocations: 55.72 kB / 435.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1601, allocations: 47.72 kB / 435.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1601, allocations: 7.938 kB / 435.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.1609, allocations: 0.4952 MB / 435.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.161, allocations: 15.86 kB / 436 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.161, allocations: 47.67 kB / 436 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1616, allocations: 351.3 kB / 436.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1616, allocations: 0 / 436.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1616, allocations: 0 / 436.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1616, allocations: 4 kB / 436.4 MB, free: 1.938 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.0006575/0.1623, allocations: 438.6 kB / 436.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1623, allocations: 11.89 kB / 436.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1624, allocations: 12.75 kB / 436.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1626, allocations: 180.2 kB / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.1627, allocations: 12.38 kB / 437 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.1627, allocations: 16.12 kB / 437 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.1631, allocations: 149.5 kB / 437.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1631, allocations: 3.938 kB / 437.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1632, allocations: 4 kB / 437.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1632, allocations: 4 kB / 437.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.1635, allocations: 131.9 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.1647, allocations: 0.5143 MB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.165, allocations: 106.6 kB / 437.9 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1652, allocations: 56.83 kB / 438 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1652, allocations: 3.938 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1653, allocations: 30.56 kB / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.1653, allocations: 0 / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006252/0.1659, allocations: 165.4 kB / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.166, allocations: 55.41 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1662, allocations: 121.8 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1662, allocations: 25.7 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1663, allocations: 107.8 kB / 438.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.1664, allocations: 43.39 kB / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.1665, allocations: 37.61 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1667, allocations: 315.2 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1668, allocations: 43.91 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.167, allocations: 81.11 kB / 439 MB, free: 15.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.1673, allocations: 133 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1673, allocations: 3.938 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003689/0.1677, allocations: 161.3 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.1678, allocations: 4 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1678, allocations: 8.156 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1678, allocations: 0 / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.1681, allocations: 51.91 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/0.1686, allocations: 0.586 MB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1688, allocations: 23.86 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1688, allocations: 4 kB / 439.9 MB, free: 14.04 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.0001593/0.169, allocations: 133.8 kB / 440.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.169, allocations: 4 kB / 440.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.1695, allocations: 169.8 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1695, allocations: 7.938 kB / 440.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.1695, allocations: 3.938 kB / 440.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.1695, allocations: 0 / 440.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.1699, allocations: 217.5 kB / 440.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1699, allocations: 0 / 440.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1701, allocations: 39.97 kB / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1702, allocations: 0 / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1702, allocations: 4 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003665/0.1706, allocations: 0.5899 MB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1706, allocations: 3.938 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.1711, allocations: 287.5 kB / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.1711, allocations: 101.1 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1712, allocations: 4 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1713, allocations: 11.98 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1714, allocations: 11.92 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1714, allocations: 4 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.091e-05/0.1714, allocations: 91.27 kB / 441.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1714, allocations: 0 / 441.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.1719, allocations: 79.77 kB / 441.7 MB, free: 12.18 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.0003532/0.1722, allocations: 171 kB / 441.9 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.1727, allocations: 135.8 kB / 442 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1727, allocations: 0 / 442 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.1729, allocations: 71.91 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1733, allocations: 11.98 kB / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.174, allocations: 320.3 kB / 442.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1744, allocations: 0.7041 MB / 443.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.1745, allocations: 20.48 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1746, allocations: 23.42 kB / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1746, allocations: 0 / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.006682/0.1813, allocations: 2.24 MB / 445.4 MB, free: 8.441 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)