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.008858/0.008859, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.002224/0.002224, allocations: 190 kB / 16.67 MB, free: 5.883 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.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.355 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.3232/0.3232, allocations: 38 MB / 307.9 MB, free: 10.4 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.001648/0.001648, allocations: 76.27 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003753/0.3518, allocations: 1.808 MB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.3544, allocations: 1.377 MB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.3546, allocations: 1.031 kB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.355, allocations: 44.88 kB / 492.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.3553, allocations: 53.89 kB / 492.8 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009911/0.3563, allocations: 244.1 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3566, allocations: 106.6 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.3566, allocations: 9.953 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3568, allocations: 54 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3569, allocations: 49.69 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3569, allocations: 3.562 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.3579, allocations: 0.4972 MB / 493.7 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.358, allocations: 17.81 kB / 493.7 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.358, allocations: 42.05 kB / 493.8 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.3589, allocations: 360 kB / 494.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3589, allocations: 0 / 494.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3589, allocations: 1.094 kB / 494.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3589, allocations: 0 / 494.1 MB, free: 17.09 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000855/0.3598, allocations: 441.1 kB / 494.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3598, allocations: 12.77 kB / 494.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.3599, allocations: 11.94 kB / 494.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.36, allocations: 180.7 kB / 494.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3601, allocations: 8.844 kB / 494.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.3601, allocations: 16.27 kB / 494.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.3605, allocations: 143.8 kB / 494.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3606, allocations: 1.062 kB / 494.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3606, allocations: 8.969 kB / 494.9 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3606, allocations: 2.531 kB / 494.9 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.3609, allocations: 134.5 kB / 495.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.3619, allocations: 0.5156 MB / 495.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3622, allocations: 109.2 kB / 495.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3624, allocations: 49.27 kB / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3624, allocations: 2.828 kB / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3624, allocations: 32.27 kB / 495.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3624, allocations: 0 / 495.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005748/0.363, allocations: 168 kB / 495.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3631, allocations: 53.08 kB / 496 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3632, allocations: 120 kB / 496.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3632, allocations: 26.7 kB / 496.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.3633, allocations: 108.5 kB / 496.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3633, allocations: 40.41 kB / 496.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.3634, allocations: 38.94 kB / 496.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.3635, allocations: 320.4 kB / 496.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3636, allocations: 37.92 kB / 496.7 MB, free: 15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3638, allocations: 80.28 kB / 496.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3641, allocations: 132.4 kB / 496.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3641, allocations: 0 / 496.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003792/0.3645, allocations: 160.1 kB / 497 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3645, allocations: 5.75 kB / 497 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3645, allocations: 2.5 kB / 497 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3645, allocations: 2.156 kB / 497 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3648, allocations: 49.7 kB / 497.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003296/0.3651, allocations: 0.597 MB / 497.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3652, allocations: 13.75 kB / 497.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3653, allocations: 6.047 kB / 497.7 MB, free: 14.16 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.000113/0.3654, allocations: 130.2 kB / 497.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.3654, allocations: 8.078 kB / 497.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.366, allocations: 171.6 kB / 498 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.366, allocations: 2.094 kB / 498 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.366, allocations: 3.938 kB / 498 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.366, allocations: 1.969 kB / 498 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3663, allocations: 213.5 kB / 498.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3663, allocations: 1.031 kB / 498.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3665, allocations: 49.41 kB / 498.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3665, allocations: 0.6562 kB / 498.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3666, allocations: 6.75 kB / 498.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002154/0.3668, allocations: 0.5834 MB / 498.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3668, allocations: 1.828 kB / 498.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.3673, allocations: 297.9 kB / 499.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.3674, allocations: 101.7 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3674, allocations: 1.984 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3675, allocations: 9.906 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.3676, allocations: 10.08 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3676, allocations: 4.078 kB / 499.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.3677, allocations: 97.42 kB / 499.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 1.125 kB / 499.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005131/0.3682, allocations: 74.45 kB / 499.5 MB, free: 12.71 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.0003307/0.3685, allocations: 175.2 kB / 499.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.369, allocations: 132 kB / 499.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.369, allocations: 4 kB / 499.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3692, allocations: 71.38 kB / 499.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3695, allocations: 13.62 kB / 499.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.3702, allocations: 305 kB / 0.4884 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3705, allocations: 0.714 MB / 0.4891 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.539e-05/0.3705, allocations: 14.94 kB / 0.4891 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.3706, allocations: 20.97 kB / 0.4891 GB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3706, allocations: 0 / 0.4891 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006919/0.3775, allocations: 2.258 MB / 0.4914 GB, free: 11.38 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)