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.007615/0.007615, allocations: 106 kB / 15.73 MB, free: 6 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.001615/0.001615, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.725/1.725, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3338/0.3338, allocations: 38 MB / 307.9 MB, free: 10.1 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.001472/0.001472, allocations: 75.84 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3503, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003178/0.3535, allocations: 1.801 MB / 491.3 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3555, allocations: 1.375 MB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.3555, allocations: 0.7812 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3558, allocations: 45.03 kB / 492.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.356, allocations: 62.39 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.3565, allocations: 238.7 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3566, allocations: 101.8 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.3567, allocations: 15.23 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3568, allocations: 56.92 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3569, allocations: 42.02 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.357, allocations: 4.625 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008544/0.3578, allocations: 0.5036 MB / 493.7 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3579, allocations: 14.84 kB / 493.7 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3579, allocations: 45.61 kB / 493.8 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.3585, allocations: 356.9 kB / 494.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3585, allocations: 0 / 494.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3585, allocations: 3.938 kB / 494.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3585, allocations: 0 / 494.1 MB, free: 17.2 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.0005804/0.3591, allocations: 437.7 kB / 494.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3592, allocations: 16.8 kB / 494.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3592, allocations: 11.53 kB / 494.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3593, allocations: 173.3 kB / 494.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3594, allocations: 8.844 kB / 494.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.3594, allocations: 19.53 kB / 494.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.3598, allocations: 144.2 kB / 494.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3598, allocations: 0 / 494.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3598, allocations: 2.312 kB / 494.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3598, allocations: 2.156 kB / 494.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.3602, allocations: 142.1 kB / 495.1 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.3611, allocations: 0.5085 MB / 495.6 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.3614, allocations: 109.2 kB / 495.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3615, allocations: 53.36 kB / 495.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3616, allocations: 2.078 kB / 495.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.3616, allocations: 32.06 kB / 495.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3616, allocations: 0 / 495.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005151/0.3621, allocations: 164.4 kB / 495.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3622, allocations: 57.48 kB / 496 MB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.3622, allocations: 119.2 kB / 496.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.3623, allocations: 26.55 kB / 496.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3623, allocations: 109.1 kB / 496.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3624, allocations: 44 kB / 496.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.3624, allocations: 36.38 kB / 496.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.3625, allocations: 319.2 kB / 496.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3626, allocations: 46.12 kB / 496.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3628, allocations: 81.19 kB / 496.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.3631, allocations: 128.4 kB / 496.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3631, allocations: 3.938 kB / 496.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003498/0.3635, allocations: 159.7 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3635, allocations: 5.875 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3635, allocations: 1.516 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3635, allocations: 2.156 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3637, allocations: 45.5 kB / 497.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002656/0.364, allocations: 0.5976 MB / 497.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3641, allocations: 16.7 kB / 497.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.3642, allocations: 7.375 kB / 497.7 MB, free: 14.27 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 7.243e-05/0.3642, allocations: 122.3 kB / 497.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.3643, allocations: 12.06 kB / 497.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.3647, allocations: 179.5 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3647, allocations: 1.188 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3647, allocations: 5.031 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3648, allocations: 1.031 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.365, allocations: 214.5 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.365, allocations: 0 / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3652, allocations: 42.36 kB / 498.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3652, allocations: 4 kB / 498.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3652, allocations: 7.016 kB / 498.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001661/0.3654, allocations: 0.5879 MB / 498.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3654, allocations: 0 / 498.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.3658, allocations: 288.4 kB / 499.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.3659, allocations: 102.4 kB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3659, allocations: 2.125 kB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.366, allocations: 10.23 kB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3661, allocations: 8.438 kB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3661, allocations: 4.688 kB / 499.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.164e-05/0.3661, allocations: 92.91 kB / 499.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3661, allocations: 1.375 kB / 499.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3665, allocations: 78.66 kB / 499.4 MB, free: 12.82 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.0002853/0.3668, allocations: 167.8 kB / 499.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3673, allocations: 131.1 kB / 499.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3673, allocations: 4 kB / 499.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.3675, allocations: 75.83 kB / 499.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3678, allocations: 12.56 kB / 499.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.3685, allocations: 318.3 kB / 0.4884 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3687, allocations: 0.7056 MB / 0.4891 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.3687, allocations: 16.58 kB / 0.4891 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3688, allocations: 16.09 kB / 0.4891 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3688, allocations: 0 / 0.4891 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Templates: time 0.006157/0.3749, allocations: 2.295 MB / 0.4914 GB, free: 11.48 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)