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.007527/0.007527, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002079/0.002079, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3555/0.3555, allocations: 39.94 MB / 309.8 MB, free: 9.383 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.001395/0.001395, allocations: 67.91 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003992/0.3648, allocations: 1.652 MB / 494.3 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3665, allocations: 0.9118 MB / 495.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3666, allocations: 1.188 kB / 495.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.3669, allocations: 35.86 kB / 495.3 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3672, allocations: 49.94 kB / 495.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.3677, allocations: 136.2 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3679, allocations: 145.9 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.368, allocations: 15.92 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.368, allocations: 60.91 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3682, allocations: 68.42 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3682, allocations: 3.719 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.3686, allocations: 212.6 kB / 496 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.3687, allocations: 39.91 kB / 496 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.3687, allocations: 60.23 kB / 496.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.3692, allocations: 241.7 kB / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3692, allocations: 1.031 kB / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3692, allocations: 0 / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3692, allocations: 0 / 496.3 MB, free: 17.21 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.0006467/0.3698, allocations: 473.9 kB / 496.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3699, allocations: 14.23 kB / 496.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.371, allocations: 111.2 kB / 496.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3713, allocations: 234.1 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3713, allocations: 10.06 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.3714, allocations: 12.75 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.3723, allocations: 330.4 kB / 497.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3723, allocations: 0 / 497.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3724, allocations: 5.031 kB / 497.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.3724, allocations: 20.86 kB / 497.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3735, allocations: 317.6 kB / 497.8 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.3754, allocations: 0.838 MB / 498.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/0.3762, allocations: 221 kB / 498.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3766, allocations: 85.02 kB / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.3766, allocations: 6.906 kB / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3766, allocations: 31.72 kB / 499 MB, free: 15.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.3767, allocations: 4 kB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001179/0.3778, allocations: 295.4 kB / 499.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3779, allocations: 52.81 kB / 499.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.3781, allocations: 185.6 kB / 499.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3781, allocations: 25.7 kB / 499.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.3782, allocations: 140 kB / 499.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.3783, allocations: 36.25 kB / 499.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3784, allocations: 59.36 kB / 499.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.3785, allocations: 322.5 kB / 0.4883 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.3788, allocations: 83.92 kB / 0.4884 GB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.3791, allocations: 140.8 kB / 0.4886 GB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.3797, allocations: 224.8 kB / 0.4888 GB, free: 14.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3797, allocations: 1.188 kB / 0.4888 GB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008621/0.3806, allocations: 268.9 kB / 0.489 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.3806, allocations: 6.812 kB / 0.489 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3806, allocations: 5.5 kB / 0.489 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.3807, allocations: 8.016 kB / 0.489 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.3813, allocations: 80.78 kB / 0.4891 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.3824, allocations: 1.784 MB / 0.4909 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.3826, allocations: 32.56 kB / 0.4909 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.3827, allocations: 12.86 kB / 0.4909 GB, free: 12.71 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.0002096/0.3829, allocations: 150.8 kB / 0.4911 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.383, allocations: 13.22 kB / 0.4911 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.384, allocations: 267 kB / 0.4913 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.384, allocations: 1.344 kB / 0.4913 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.384, allocations: 1.375 kB / 0.4913 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3841, allocations: 0.6094 kB / 0.4913 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3844, allocations: 258.7 kB / 0.4916 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3845, allocations: 5.438 kB / 0.4916 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.3848, allocations: 65.61 kB / 0.4916 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3849, allocations: 5 kB / 0.4916 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.3849, allocations: 15.94 kB / 0.4917 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007294/0.3856, allocations: 1.782 MB / 0.4934 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3857, allocations: 0.5625 kB / 0.4934 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.3865, allocations: 314.9 kB / 0.4937 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.3866, allocations: 98.94 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.3866, allocations: 1.5 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3868, allocations: 11.81 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3869, allocations: 12.83 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.387, allocations: 10.19 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3871, allocations: 143.7 kB / 0.494 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3871, allocations: 0 / 0.494 GB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004553/0.3876, allocations: 58.12 kB / 0.494 GB, free: 10.07 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.0003063/0.3879, allocations: 125.6 kB / 0.4941 GB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009603/0.3889, allocations: 238 kB / 0.4944 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3889, allocations: 0 / 0.4944 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.3894, allocations: 127 kB / 0.4945 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3897, allocations: 21.11 kB / 0.4945 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/0.3906, allocations: 381.2 kB / 0.4949 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.391, allocations: 0.7375 MB / 0.4956 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.3912, allocations: 65.83 kB / 0.4957 GB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3914, allocations: 31.45 kB / 0.4957 GB, free: 8.973 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3914, allocations: 0 / 0.4957 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Templates: time 0.007577/0.399, allocations: 2.904 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)