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.008197/0.008197, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001475/0.001476, allocations: 197 kB / 16.67 MB, free: 5.52 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1931/0.1931, allocations: 38.01 MB / 307.9 MB, free: 6.004 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.001455/0.001455, allocations: 77.75 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 56.46 MB / 489.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003163/0.1199, allocations: 1.8 MB / 491.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.122, allocations: 1.384 MB / 492.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.1221, allocations: 0 / 492.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1224, allocations: 39.75 kB / 492.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1225, allocations: 55.62 kB / 492.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1231, allocations: 235.1 kB / 493 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1232, allocations: 111.4 kB / 493.1 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.1233, allocations: 17.11 kB / 493.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1234, allocations: 43.72 kB / 493.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1235, allocations: 51.77 kB / 493.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1236, allocations: 4 kB / 493.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.1243, allocations: 0.499 MB / 493.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.1243, allocations: 15.86 kB / 493.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1244, allocations: 43.73 kB / 493.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.1249, allocations: 351 kB / 494.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1249, allocations: 0 / 494.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1249, allocations: 4 kB / 494.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1249, allocations: 4 kB / 494.1 MB, free: 1.203 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.0005874/0.1255, allocations: 439.1 kB / 494.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.1256, allocations: 15.89 kB / 494.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1256, allocations: 8.844 kB / 494.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1258, allocations: 176.2 kB / 494.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1258, allocations: 8.375 kB / 494.8 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.1258, allocations: 16.12 kB / 494.8 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1262, allocations: 142.1 kB / 494.9 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1262, allocations: 4 kB / 494.9 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1262, allocations: 4 kB / 494.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1262, allocations: 4 kB / 494.9 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1265, allocations: 131.9 kB / 495.1 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1276, allocations: 0.5182 MB / 495.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1278, allocations: 102.6 kB / 495.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.128, allocations: 52.77 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.128, allocations: 4 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1281, allocations: 38.56 kB / 495.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1281, allocations: 0 / 495.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005181/0.1286, allocations: 161.8 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1287, allocations: 51.41 kB / 496 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.1288, allocations: 113.8 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1288, allocations: 29.7 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.1289, allocations: 119.7 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1289, allocations: 39.45 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.129, allocations: 33.61 kB / 496.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1291, allocations: 322.8 kB / 496.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1292, allocations: 35.97 kB / 496.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1294, allocations: 81.12 kB / 496.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1297, allocations: 141 kB / 496.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1297, allocations: 4 kB / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003339/0.1301, allocations: 149.5 kB / 497 MB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1301, allocations: 8 kB / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1301, allocations: 0 / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1301, allocations: 7.938 kB / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1304, allocations: 44.12 kB / 497.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/0.1308, allocations: 0.5975 MB / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1309, allocations: 19.95 kB / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1309, allocations: 8 kB / 497.7 MB, free: 13.32 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.0001247/0.1311, allocations: 121.6 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1311, allocations: 15.98 kB / 497.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.1315, allocations: 170.3 kB / 498 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1315, allocations: 0 / 498 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1316, allocations: 3.938 kB / 498 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1316, allocations: 4 kB / 498 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.1318, allocations: 221.5 kB / 498.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1318, allocations: 0 / 498.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.132, allocations: 43.91 kB / 498.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1321, allocations: 0 / 498.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1321, allocations: 7.984 kB / 498.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003173/0.1324, allocations: 0.586 MB / 498.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1324, allocations: 4.094 kB / 498.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.1329, allocations: 287.3 kB / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.133, allocations: 96.97 kB / 499.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.133, allocations: 4 kB / 499.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1331, allocations: 4 kB / 499.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.1332, allocations: 16.05 kB / 499.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1332, allocations: 7.984 kB / 499.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.1333, allocations: 87.28 kB / 499.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1333, allocations: 0 / 499.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.1337, allocations: 79.77 kB / 499.4 MB, free: 11.46 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.0003394/0.134, allocations: 179.3 kB / 499.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.1344, allocations: 131.7 kB / 499.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1344, allocations: 320 / 499.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1346, allocations: 75.95 kB / 499.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.135, allocations: 6.656 kB / 499.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.1357, allocations: 307.6 kB / 0.4884 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.136, allocations: 0.7118 MB / 0.4891 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.136, allocations: 16.55 kB / 0.4891 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1361, allocations: 15.44 kB / 0.4891 GB, free: 9.973 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1361, allocations: 4 kB / 0.4891 GB, free: 9.969 MB / 382.1 MB Notification: Performance of Templates: time 0.005626/0.1417, allocations: 2.267 MB / 0.4913 GB, free: 7.715 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)