Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009178/0.009178, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.002012/0.002013, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.777/1.777, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3785/0.3785, allocations: 38 MB / 307.9 MB, free: 10.16 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.001436/0.001436, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.49, allocations: 56.48 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00285/0.4929, allocations: 1.435 MB / 490.9 MB, free: 19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.495, allocations: 1.462 MB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.4951, allocations: 1.062 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.4953, allocations: 34.77 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.4956, allocations: 48.8 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.4961, allocations: 224.4 kB / 492.7 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.4963, allocations: 54.45 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.4964, allocations: 7.969 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.4964, allocations: 23.89 kB / 492.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.4965, allocations: 24.52 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4965, allocations: 2.625 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000679/0.4972, allocations: 337.3 kB / 493.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.4972, allocations: 6.766 kB / 493.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.4973, allocations: 36.23 kB / 493.2 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.4978, allocations: 277.6 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4979, allocations: 1 kB / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4979, allocations: 0 / 493.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4979, allocations: 0 / 493.4 MB, free: 17.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006254/0.4985, allocations: 424.4 kB / 493.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4986, allocations: 13.48 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4986, allocations: 8.141 kB / 493.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4987, allocations: 172.3 kB / 494 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4987, allocations: 14.56 kB / 494 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.4988, allocations: 3.359 kB / 494 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4989, allocations: 70.91 kB / 494.1 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.499, allocations: 0.5156 kB / 494.1 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.499, allocations: 1.406 kB / 494.1 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.499, allocations: 0 / 494.1 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4991, allocations: 59.77 kB / 494.2 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.4993, allocations: 185.8 kB / 494.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.4994, allocations: 62.84 kB / 494.4 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.4995, allocations: 45.56 kB / 494.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.857e-05/0.4996, allocations: 17.55 kB / 494.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4996, allocations: 40.33 kB / 494.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4996, allocations: 0 / 494.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01988/0.5195, allocations: 1.618 MB / 496.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.5196, allocations: 52.34 kB / 496.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5197, allocations: 139.1 kB / 496.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.5198, allocations: 29.7 kB / 496.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.5198, allocations: 98.92 kB / 496.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.5199, allocations: 51.3 kB / 496.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.52, allocations: 43.77 kB / 496.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.5201, allocations: 328 kB / 496.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.5207, allocations: 198.9 kB / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.5214, allocations: 208 kB / 497.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.5226, allocations: 377.4 kB / 497.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5227, allocations: 0.7969 kB / 497.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001409/0.5241, allocations: 454.8 kB / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.5241, allocations: 6.125 kB / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5241, allocations: 0 / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.5242, allocations: 1.375 kB / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.5247, allocations: 69.36 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5247, allocations: 0.6562 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.5252, allocations: 39.41 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.5252, allocations: 7.609 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.5253, allocations: 121.6 kB / 498.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.5254, allocations: 7.766 kB / 498.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.5269, allocations: 363.1 kB / 498.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5269, allocations: 4.453 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5269, allocations: 5.812 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5269, allocations: 0.75 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.5298, allocations: 0.7796 MB / 499.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5298, allocations: 0.9062 kB / 499.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.5303, allocations: 66.52 kB / 499.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5303, allocations: 1.344 kB / 499.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.5304, allocations: 6.453 kB / 499.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5304, allocations: 1.25 kB / 499.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5304, allocations: 9.312 kB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.5317, allocations: 420.6 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5318, allocations: 111.4 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.5319, allocations: 6.531 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.5323, allocations: 35.55 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5323, allocations: 27.86 kB / 0.4884 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.5324, allocations: 7.516 kB / 0.4884 GB, free: 13.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.5324, allocations: 96.64 kB / 0.4885 GB, free: 13.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5325, allocations: 0 / 0.4885 GB, free: 13.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.5335, allocations: 173.3 kB / 0.4887 GB, free: 13.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007924/0.5343, allocations: 253.7 kB / 0.4889 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.5357, allocations: 376.2 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5357, allocations: 0 / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.5364, allocations: 150.3 kB / 0.4894 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.5368, allocations: 19.22 kB / 0.4894 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.5394, allocations: 0.505 MB / 0.4899 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5396, allocations: 0.6975 MB / 0.4906 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.5398, allocations: 48.81 kB / 0.4907 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.54, allocations: 30.14 kB / 0.4907 GB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.54, allocations: 1.219 kB / 0.4907 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01828/0.5583, allocations: 8.547 MB / 0.499 GB, free: 8.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)