Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.009246/0.009246, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001748/0.001747, allocations: 190 kB / 16.67 MB, free: 5.973 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.735/1.735, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3748/0.3748, allocations: 39.94 MB / 309.8 MB, free: 9.395 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.2. 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.001516/0.001516, allocations: 71.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3919, allocations: 56.88 MB / 492.7 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003428/0.3953, allocations: 1.793 MB / 494.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3976, allocations: 1.37 MB / 495.9 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.3977, allocations: 5.031 kB / 495.9 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.398, allocations: 45.64 kB / 495.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.3982, allocations: 52.97 kB / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.3988, allocations: 242.9 kB / 496.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.399, allocations: 103.6 kB / 496.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.399, allocations: 9.797 kB / 496.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3992, allocations: 52.7 kB / 496.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.3993, allocations: 51.64 kB / 496.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3993, allocations: 3.125 kB / 496.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.4001, allocations: 0.4963 MB / 496.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.4001, allocations: 22.81 kB / 496.9 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.4002, allocations: 41 kB / 497 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.4007, allocations: 357.5 kB / 497.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4008, allocations: 0 / 497.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4008, allocations: 3.938 kB / 497.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.4008, allocations: 1.5 kB / 497.3 MB, free: 16.94 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.0005562/0.4013, allocations: 439.3 kB / 497.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4014, allocations: 14.3 kB / 497.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.4014, allocations: 9.938 kB / 497.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.4016, allocations: 181.7 kB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4016, allocations: 12.69 kB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4016, allocations: 21.12 kB / 498 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.402, allocations: 140.1 kB / 498.1 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.402, allocations: 0 / 498.1 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.402, allocations: 9.234 kB / 498.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.402, allocations: 2.594 kB / 498.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.4024, allocations: 142.8 kB / 498.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.4033, allocations: 0.5082 MB / 498.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4036, allocations: 101.3 kB / 498.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.4037, allocations: 53.64 kB / 498.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.4038, allocations: 2.219 kB / 498.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4038, allocations: 31.94 kB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.4038, allocations: 0 / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005121/0.4043, allocations: 168.9 kB / 499.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4044, allocations: 57.14 kB / 499.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4045, allocations: 119.5 kB / 499.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4045, allocations: 29.7 kB / 499.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.4046, allocations: 110 kB / 499.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.4047, allocations: 34.89 kB / 499.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.4048, allocations: 31.98 kB / 499.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4048, allocations: 320.2 kB / 499.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.405, allocations: 41.25 kB / 499.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.4052, allocations: 84.52 kB / 499.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4055, allocations: 133.2 kB / 0.4883 GB, free: 14.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4055, allocations: 0 / 0.4883 GB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003844/0.4059, allocations: 160.4 kB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4059, allocations: 10.22 kB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.406, allocations: 1.188 kB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.406, allocations: 2.547 kB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.4062, allocations: 45.84 kB / 0.4886 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003179/0.4066, allocations: 0.5935 MB / 0.4891 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4067, allocations: 12.92 kB / 0.4892 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4067, allocations: 13.98 kB / 0.4892 GB, free: 14 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 8.722e-05/0.4068, allocations: 126.4 kB / 0.4893 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4069, allocations: 8.812 kB / 0.4893 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.4073, allocations: 171 kB / 0.4895 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4073, allocations: 1.156 kB / 0.4895 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4074, allocations: 5 kB / 0.4895 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4074, allocations: 1.547 kB / 0.4895 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.4077, allocations: 214.1 kB / 0.4897 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4077, allocations: 0 / 0.4897 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.4079, allocations: 45.61 kB / 0.4897 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4079, allocations: 5.031 kB / 0.4897 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4079, allocations: 1.875 kB / 0.4897 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002207/0.4081, allocations: 0.5884 MB / 0.4903 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4082, allocations: 0 / 0.4903 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.4087, allocations: 303.5 kB / 0.4906 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.4087, allocations: 102.1 kB / 0.4907 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.4087, allocations: 6.219 kB / 0.4907 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4089, allocations: 10.55 kB / 0.4907 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4089, allocations: 13.75 kB / 0.4907 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4089, allocations: 11.81 kB / 0.4907 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.409, allocations: 91.03 kB / 0.4908 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 0 / 0.4908 GB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.4095, allocations: 69.81 kB / 0.4909 GB, free: 12.54 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.0004201/0.41, allocations: 167.4 kB / 0.491 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.4104, allocations: 136.1 kB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4104, allocations: 0 / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.4107, allocations: 74.89 kB / 0.4912 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4111, allocations: 9.453 kB / 0.4912 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.412, allocations: 309 kB / 0.4915 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4123, allocations: 0.704 MB / 0.4922 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.854e-05/0.4124, allocations: 19.73 kB / 0.4922 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.4124, allocations: 16.64 kB / 0.4923 GB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4124, allocations: 0 / 0.4923 GB, free: 11.45 MB / 382.1 MB Notification: Performance of Templates: time 0.006829/0.4193, allocations: 2.303 MB / 0.4945 GB, free: 10.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)