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.001181/0.001181, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001139/0.001139, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.3103/0.3103, allocations: 40 MB / 310.4 MB, free: 9.672 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.0005199/0.0005205, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 57.95 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00198/0.1162, allocations: 1.45 MB / 438.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1181, allocations: 1.218 MB / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.1182, allocations: 0 / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1183, allocations: 39.77 kB / 439.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1186, allocations: 51.83 kB / 439.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1191, allocations: 199.5 kB / 439.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1192, allocations: 71.83 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1193, allocations: 16.95 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1194, allocations: 51.77 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.1195, allocations: 43.78 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1195, allocations: 4 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.1201, allocations: 491.2 kB / 440.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.1202, allocations: 15.91 kB / 440.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.1202, allocations: 41.64 kB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1206, allocations: 223.9 kB / 440.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1206, allocations: 0 / 440.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.257e-06/0.1206, allocations: 0 / 440.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1206, allocations: 3.938 kB / 440.7 MB, free: 14.36 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.0005974/0.1212, allocations: 427 kB / 441.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1213, allocations: 11.97 kB / 441.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1213, allocations: 19.77 kB / 441.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1214, allocations: 178.9 kB / 441.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1215, allocations: 12 kB / 441.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1215, allocations: 12 kB / 441.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1218, allocations: 146.4 kB / 441.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1218, allocations: 0 / 441.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1219, allocations: 4 kB / 441.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1219, allocations: 4 kB / 441.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1222, allocations: 147.9 kB / 441.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.123, allocations: 0.5222 MB / 442.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.1233, allocations: 106.6 kB / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1233, allocations: 0 / 442.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1234, allocations: 42.56 kB / 442.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1234, allocations: 0 / 442.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004786/0.1239, allocations: 181.6 kB / 442.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1239, allocations: 55.41 kB / 442.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.124, allocations: 114 kB / 442.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.124, allocations: 29.7 kB / 442.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1241, allocations: 111.8 kB / 442.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1241, allocations: 39.39 kB / 442.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.1242, allocations: 8 kB / 442.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.1243, allocations: 318.8 kB / 443.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1244, allocations: 47.97 kB / 443.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1245, allocations: 77.11 kB / 443.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1247, allocations: 55.92 kB / 443.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1247, allocations: 4 kB / 443.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003323/0.125, allocations: 169.8 kB / 443.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1251, allocations: 4 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1251, allocations: 4 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1251, allocations: 0 / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1253, allocations: 47.95 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000322/0.1257, allocations: 0.5943 MB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1258, allocations: 23.83 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1258, allocations: 4 kB / 444.2 MB, free: 10.62 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/0.1259, allocations: 121.8 kB / 444.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1259, allocations: 15.94 kB / 444.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.1264, allocations: 181.8 kB / 444.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1264, allocations: 3.953 kB / 444.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1264, allocations: 0 / 444.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1264, allocations: 3.938 kB / 444.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1266, allocations: 217.5 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1266, allocations: 0 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1268, allocations: 43.95 kB / 444.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1269, allocations: 4 kB / 444.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1269, allocations: 3.938 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.1272, allocations: 0.5937 MB / 445.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1272, allocations: 0 / 445.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.1277, allocations: 303.5 kB / 445.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.1278, allocations: 100.9 kB / 445.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1278, allocations: 4 kB / 445.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1279, allocations: 16.05 kB / 445.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.128, allocations: 11.92 kB / 445.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.128, allocations: 8 kB / 445.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.128, allocations: 87.27 kB / 445.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.128, allocations: 0 / 445.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1284, allocations: 75.84 kB / 445.9 MB, free: 8.727 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.1287, allocations: 171.1 kB / 446.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1291, allocations: 140.1 kB / 446.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1291, allocations: 0 / 446.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.1293, allocations: 75.89 kB / 446.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1296, allocations: 8 kB / 446.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.1302, allocations: 383.8 kB / 446.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1305, allocations: 0.7124 MB / 447.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.737e-05/0.1306, allocations: 20.48 kB / 447.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1306, allocations: 15.44 kB / 447.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1306, allocations: 0 / 447.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of Templates: time 0.005199/0.1359, allocations: 2.056 MB / 449.5 MB, free: 5.105 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: