Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.007896/0.007896, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001449/0.00145, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3403/0.3403, allocations: 37.98 MB / 307.9 MB, free: 10.07 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.001633/0.001633, allocations: 71.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3515, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002848/0.3544, allocations: 1.65 MB / 491.1 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3559, allocations: 0.9165 MB / 492.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.3559, allocations: 1.781 kB / 492.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.3562, allocations: 40.12 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.3564, allocations: 49.11 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.3568, allocations: 136.1 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.357, allocations: 135.6 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.3571, allocations: 23.7 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.3571, allocations: 59.86 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3573, allocations: 67.98 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3573, allocations: 4.562 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.3577, allocations: 206.9 kB / 492.8 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.3578, allocations: 42.25 kB / 492.8 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.3578, allocations: 58.44 kB / 492.9 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3583, allocations: 247.3 kB / 493.1 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3583, allocations: 0 / 493.1 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3583, allocations: 0 / 493.1 MB, free: 17.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3583, allocations: 0 / 493.1 MB, free: 17.81 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.0006484/0.359, allocations: 470.5 kB / 493.6 MB, free: 17.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.359, allocations: 14.11 kB / 493.6 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3602, allocations: 115.3 kB / 493.7 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3605, allocations: 225.6 kB / 493.9 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3605, allocations: 13.97 kB / 493.9 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.3605, allocations: 17.17 kB / 493.9 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.3612, allocations: 318.7 kB / 494.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3613, allocations: 3.938 kB / 494.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3613, allocations: 1.125 kB / 494.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.3614, allocations: 24.58 kB / 494.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.3622, allocations: 317 kB / 494.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3637, allocations: 0.8502 MB / 495.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.3645, allocations: 216 kB / 495.6 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3649, allocations: 85.7 kB / 495.7 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3649, allocations: 6.219 kB / 495.7 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3649, allocations: 36.33 kB / 495.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3649, allocations: 0 / 495.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001176/0.3661, allocations: 291.3 kB / 496.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3662, allocations: 53.11 kB / 496.1 MB, free: 16.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3664, allocations: 188.4 kB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3664, allocations: 31.39 kB / 496.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3665, allocations: 139.2 kB / 496.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3665, allocations: 35.55 kB / 496.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.3666, allocations: 50.55 kB / 496.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.3667, allocations: 323.1 kB / 496.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.367, allocations: 84.47 kB / 496.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3674, allocations: 140.6 kB / 497.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.3681, allocations: 224.4 kB / 497.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3681, allocations: 0 / 497.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007699/0.3688, allocations: 279.9 kB / 497.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3689, allocations: 4.844 kB / 497.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3689, allocations: 3.5 kB / 497.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3689, allocations: 6.875 kB / 497.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.3694, allocations: 80.34 kB / 497.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/0.37, allocations: 1.789 MB / 499.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3703, allocations: 22.66 kB / 499.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.3703, allocations: 17.5 kB / 499.5 MB, free: 13.31 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.0001268/0.3704, allocations: 151.6 kB / 499.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.3705, allocations: 17.19 kB / 499.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.3713, allocations: 259.8 kB / 499.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3713, allocations: 0.6562 kB / 499.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3714, allocations: 5.375 kB / 499.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3714, allocations: 0.6562 kB / 499.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.3717, allocations: 254.3 kB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3717, allocations: 1.375 kB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.372, allocations: 70.8 kB / 0.4885 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3721, allocations: 3.938 kB / 0.4885 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3721, allocations: 9 kB / 0.4885 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005454/0.3726, allocations: 1.785 MB / 0.4903 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3726, allocations: 1.375 kB / 0.4903 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.3734, allocations: 322.4 kB / 0.4906 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.3734, allocations: 94.44 kB / 0.4907 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3735, allocations: 6.531 kB / 0.4907 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.3737, allocations: 10.95 kB / 0.4907 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.3737, allocations: 15.62 kB / 0.4907 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3738, allocations: 10.95 kB / 0.4907 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3739, allocations: 139.1 kB / 0.4908 GB, free: 10.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3739, allocations: 4 kB / 0.4908 GB, free: 10.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.3743, allocations: 64.11 kB / 0.4909 GB, free: 10.66 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.0002515/0.3746, allocations: 120.3 kB / 0.491 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.3755, allocations: 241.8 kB / 0.4913 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3755, allocations: 0 / 0.4913 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.376, allocations: 132.3 kB / 0.4914 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3763, allocations: 15.03 kB / 0.4914 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.3773, allocations: 366.5 kB / 0.4917 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3775, allocations: 0.7406 MB / 0.4925 GB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002352/0.3778, allocations: 67.81 kB / 0.4925 GB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.3779, allocations: 35.12 kB / 0.4926 GB, free: 9.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3779, allocations: 0 / 0.4926 GB, free: 9.566 MB / 382.1 MB Notification: Performance of Templates: time 0.00739/0.3853, allocations: 2.852 MB / 0.4953 GB, free: 9.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)