Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007762/0.007762, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001847/0.001847, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.642/1.642, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3638/0.3638, allocations: 39.95 MB / 309.9 MB, free: 9.426 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.001475/0.001475, allocations: 67.89 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002645/0.3634, allocations: 1.655 MB / 494.3 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3649, allocations: 0.9155 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.365, allocations: 3.938 kB / 495.3 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3653, allocations: 32.8 kB / 495.3 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3654, allocations: 53.72 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.3659, allocations: 135.7 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3661, allocations: 147.3 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.3662, allocations: 19.05 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.3663, allocations: 53.47 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3664, allocations: 71.64 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3664, allocations: 4.469 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.3669, allocations: 211.8 kB / 496 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.3669, allocations: 40.81 kB / 496 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.367, allocations: 55.28 kB / 496.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.3674, allocations: 241.1 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3675, allocations: 9.062 kB / 496.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3675, allocations: 0.9375 kB / 496.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3675, allocations: 0 / 496.3 MB, free: 17.29 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006202/0.3681, allocations: 466.5 kB / 496.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3682, allocations: 12.89 kB / 496.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3693, allocations: 115 kB / 496.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3695, allocations: 230.8 kB / 497.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3695, allocations: 9.75 kB / 497.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.3696, allocations: 13.41 kB / 497.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.3703, allocations: 329.1 kB / 497.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3703, allocations: 0 / 497.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3703, allocations: 5.312 kB / 497.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.3704, allocations: 23.84 kB / 497.5 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/0.3712, allocations: 318 kB / 497.8 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.3725, allocations: 0.8362 MB / 498.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.3732, allocations: 224.1 kB / 498.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.3735, allocations: 85.62 kB / 498.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3736, allocations: 6.094 kB / 498.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3736, allocations: 43.92 kB / 499 MB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3736, allocations: 0 / 499 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001078/0.3747, allocations: 291.8 kB / 499.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3747, allocations: 53.66 kB / 499.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3749, allocations: 189.1 kB / 499.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.375, allocations: 26.92 kB / 499.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.375, allocations: 142.6 kB / 499.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3751, allocations: 39.95 kB / 499.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.3752, allocations: 53.72 kB / 499.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.3752, allocations: 323.4 kB / 0.4884 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3755, allocations: 84.88 kB / 0.4884 GB, free: 14.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.3759, allocations: 140.7 kB / 0.4886 GB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.3765, allocations: 223.2 kB / 0.4888 GB, free: 14.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3765, allocations: 0 / 0.4888 GB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007767/0.3773, allocations: 271.4 kB / 0.489 GB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3773, allocations: 6.906 kB / 0.489 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3773, allocations: 2.266 kB / 0.4891 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3773, allocations: 10.44 kB / 0.4891 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.3778, allocations: 85.92 kB / 0.4891 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006137/0.3784, allocations: 1.781 MB / 0.4909 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.3787, allocations: 23.81 kB / 0.4909 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.3787, allocations: 16.84 kB / 0.4909 GB, free: 12.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.3789, allocations: 150.8 kB / 0.4911 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.3789, allocations: 21.41 kB / 0.4911 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.3798, allocations: 255.6 kB / 0.4913 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3798, allocations: 5.25 kB / 0.4913 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3798, allocations: 0 / 0.4913 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3798, allocations: 14.3 kB / 0.4913 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3801, allocations: 258.1 kB / 0.4916 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3801, allocations: 0 / 0.4916 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.3805, allocations: 67.64 kB / 0.4917 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3805, allocations: 3.938 kB / 0.4917 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.3805, allocations: 8.766 kB / 0.4917 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005532/0.3811, allocations: 1.781 MB / 0.4934 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3811, allocations: 1.938 kB / 0.4934 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.3818, allocations: 322.7 kB / 0.4937 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3819, allocations: 86.16 kB / 0.4938 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3819, allocations: 5.094 kB / 0.4938 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3821, allocations: 7.984 kB / 0.4938 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.3822, allocations: 17.31 kB / 0.4938 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3822, allocations: 9.344 kB / 0.4938 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3823, allocations: 145.3 kB / 0.494 GB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3823, allocations: 0 / 0.494 GB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.3828, allocations: 62.42 kB / 0.494 GB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/0.383, allocations: 124.2 kB / 0.4942 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.3839, allocations: 241.8 kB / 0.4944 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.384, allocations: 0 / 0.4944 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.3845, allocations: 126.8 kB / 0.4945 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3848, allocations: 13.98 kB / 0.4945 GB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.3855, allocations: 393.5 kB / 0.4949 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3857, allocations: 0.737 MB / 0.4956 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.3859, allocations: 68.06 kB / 0.4957 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.386, allocations: 30.33 kB / 0.4957 GB, free: 8.957 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.386, allocations: 0 / 0.4957 GB, free: 8.957 MB / 382.1 MB Notification: Performance of Templates: time 0.007032/0.3931, allocations: 2.839 MB / 0.4985 GB, free: 7.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)